diff options
| author | Daniel Lezcano <[email protected]> | 2021-09-07 19:57:54 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-09-08 11:50:26 -0700 |
| commit | 04c8984ae3fa4373948483e367561c79fda7f571 (patch) | |
| tree | b8f6d9bf425c9b7b8d0f97847c4349e0bb022044 /tools/perf/scripts/python | |
| parent | 73b718c617caae17f6e2964fba823e2c18a9b67c (diff) | |
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/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Reviewed-by: Christian Eggers <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Chanwoo Choi <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Cc: Lukasz Luba <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: Miquel Raynal <[email protected]>
Cc: MyungJoo Ham <[email protected]>
Cc: Peter Meerwald <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Zhang Rui <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions