Skip to contentSkip to conversation

patch "iio: light: hid-sensor-prox: Fix modifier" added to staging-linus

PATCH [email protected] 1 participant 1 message May 13, 2015

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

iio: light: hid-sensor-prox: Fix modifier

to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-linus branch.

The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)

The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.

If you have any questions about this process, please let me know.

Quoted 1 line

From c2aab3d58b96002555a3e70004f593b043830248 Mon Sep 17 00:00:00 2001

From: Srinivas Pandruvada <[email protected]>
Date: Tue, 14 Apr 2015 14:53:22 -0700
Subject: iio: light: hid-sensor-prox: Fix modifier

Currently in_proximity_(null)_raw is getting presented as raw sysfs attribute. Same with the scan_elements.
The modifier doesn't apply to this channel.

---
 drivers/iio/light/hid-sensor-prox.c | 2 --
 1 file changed, 2 deletions(-)
drivers/iio/light/hid-sensor-prox.c +0 -2
index 3ecf79ed08ac..88f21bbe947c 100644
@@ -43,8 +43,6 @@ struct prox_state {
 static const struct iio_chan_spec prox_channels[] = {
 	{
 		.type = IIO_PROXIMITY,
-		.modified = 1,
-		.channel2 = IIO_NO_MOD,
 		.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
 		.info_mask_shared_by_type = BIT(IIO_CHAN_INFO_OFFSET) |
 		BIT(IIO_CHAN_INFO_SCALE) |
Signature · 1 line
2.4.0