The patch titled Subject: iio/drivers/hid-sensor: use HZ macros has been added to the -mm tree. Its filename is iio-drivers-hid-sensor-use-hz-macros.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/iio-drivers-hid-sensor-use-hz-macros.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/iio-drivers-hid-sensor-use-hz-macros.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> Subject: iio/drivers/hid-sensor: use HZ macros HZ unit conversion macros are available in units.h, use them and remove the duplicate definition. Link: https://lkml.kernel.org/r/20210816114732.1834145-8-daniel.lezcano@xxxxxxxxxx Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> Acked-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> Cc: Chanwoo Choi <cw00.choi@xxxxxxxxxxx> Cc: Christian Eggers <ceggers@xxxxxxx> Cc: Guenter Roeck <linux@xxxxxxxxxxxx> Cc: Jonathan Cameron <jic23@xxxxxxxxxx> Cc: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> Cc: Lars-Peter Clausen <lars@xxxxxxxxxx> Cc: Lukasz Luba <lukasz.luba@xxxxxxx> Cc: Maxime Coquelin <mcoquelin.stm32@xxxxxxxxx> Cc: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> Cc: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx> Cc: Peter Meerwald <pmeerw@xxxxxxxxxx> Cc: "Rafael J. Wysocki" <rafael@xxxxxxxxxx> Cc: Zhang Rui <rui.zhang@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/iio/common/hid-sensors/hid-sensor-attributes.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/drivers/iio/common/hid-sensors/hid-sensor-attributes.c~iio-drivers-hid-sensor-use-hz-macros +++ a/drivers/iio/common/hid-sensors/hid-sensor-attributes.c @@ -6,12 +6,11 @@ #include <linux/module.h> #include <linux/kernel.h> #include <linux/time.h> +#include <linux/units.h> #include <linux/hid-sensor-hub.h> #include <linux/iio/iio.h> -#define HZ_PER_MHZ 1000000L - static struct { u32 usage_id; int unit; /* 0 for default others from HID sensor spec */ _ Patches currently in -mm which might be from daniel.lezcano@xxxxxxxxxx are units-change-from-l-to-ul.patch units-add-the-hz-macros.patch thermal-drivers-devfreq_cooling-use-hz-macros.patch devfreq-use-hz-macros.patch iio-drivers-as73211-use-hz-macros.patch hwmon-drivers-mr75203-use-hz-macros.patch iio-drivers-hid-sensor-use-hz-macros.patch i2c-drivers-ov02q10-use-hz-macros.patch mtd-drivers-nand-use-hz-macros.patch phy-drivers-stm32-use-hz-macros.patch