Skip to contentSkip to conversation

iio-drivers-hid-sensor-use-hz-macros.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 9, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: iio/drivers/hid-sensor: use HZ macros
has been removed from the -mm tree. Its filename was
iio-drivers-hid-sensor-use-hz-macros.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Daniel Lezcano <[email protected]>
Subject: iio/drivers/hid-sensor: use HZ macros

HZ unit conversion macros are available in units.h, use them and remove the duplicate definition.

Cc Chanwoo Choi <[email protected]>
Cc Christian Eggers <[email protected]>
Cc Guenter Roeck <[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]>

---

 drivers/iio/common/hid-sensors/hid-sensor-attributes.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/iio/common/hid-sensors/hid-sensor-attributes.c renamed from drivers/iio/common/hid-sensors/hid-sensor-attributes.c~iio-drivers-hid-sensor-use-hz-macros +1 -2
@@ -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 [email protected] are