linux/drivers/devfreq
Daniel Lezcano 04c8984ae3 devfreq: use HZ macros
HZ unit conversion macros are available in units.h, use them and remove
the duplicate definition.

The new macro has an unsigned long type.

All the code is dealing with unsigned long and the code using the macro is
doing a coercitive cast to unsigned long.

Link: https://lkml.kernel.org/r/20210816114732.1834145-5-daniel.lezcano@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Christian Eggers <ceggers@arri.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Lukasz Luba <lukasz.luba@arm.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Peter Meerwald <pmeerw@pmeerw.net>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-09-08 11:50:26 -07:00
..
event PM / devfreq: exynos: Rename Exynos to lowercase 2020-01-06 10:50:09 +09:00
devfreq-event.c PM / devfreq: event: Change prototype of devfreq_event_get_edev_by_phandle function 2020-09-29 17:50:10 +09:00
devfreq.c devfreq: use HZ macros 2021-09-08 11:50:26 -07:00
exynos-bus.c Merge branches 'pm-devfreq' and 'pm-tools' 2020-12-15 15:27:16 +01:00
governor_passive.c PM / devfreq: passive: Fix get_target_freq when not using required-opp 2021-06-24 10:37:35 +09:00
governor_performance.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
governor_powersave.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
governor_simpleondemand.c PM / devfreq: Add governor attribute flag for specifc sysfs nodes 2020-10-26 11:46:54 +09:00
governor_userspace.c PM / devfreq: userspace: Use DEVICE_ATTR_RW macro 2021-06-17 17:08:46 +09:00
governor.h PM / devfreq: Remove the invalid description for get_target_freq 2021-04-08 13:14:51 +09:00
imx8m-ddrc.c PM / devfreq: imx8m-ddrc: Remove unneeded of_match_ptr() 2021-04-08 13:14:51 +09:00
imx-bus.c PM / devfreq: imx-bus: Remove imx_bus_get_dev_status 2021-05-21 13:16:10 +09:00
Kconfig PM / devfreq: imx8m-ddrc: Remove DEVFREQ_GOV_SIMPLE_ONDEMAND dependency 2021-05-21 13:16:21 +09:00
Makefile PM / devfreq: tegra20: Deprecate in a favor of emc-stat based driver 2020-11-23 16:01:13 +09:00
rk3399_dmc.c PM / devfreq: rk3399_dmc: Simplify with dev_err_probe() 2021-04-08 13:14:50 +09:00
tegra30-devfreq.c PM / devfreq: tegra30: Support thermal cooling 2021-05-21 13:16:10 +09:00