staging: iio: light: isl29018/28: remove I2C_CLASS_HWMON .class setting
Subsystems (4)
PATCH 1/1 staging: iio: light: isl29018/28: remove I2C_CLASS_HWMON .class setting
I2C_CLASS_HWMON is for a hardware monitoring chip wanting auto-detection. IIO drivers don't typically use .class. Remove it.
--- drivers/staging/iio/light/isl29018.c | 1 - drivers/staging/iio/light/isl29028.c | 1 - 2 files changed, 2 deletions(-)
drivers/staging/iio/light/isl29018.c +0 -1
@@ -823,7 +823,6 @@ static const struct of_device_id isl29018_of_match[] = {MODULE_DEVICE_TABLE (of, isl29018_of_match);static struct i2c_driver isl29018_driver = { - .class =I2C_CLASS_HWMON , .driver = { .name ="isl29018" , .acpi_match_table =ACPI_PTR (isl29018_acpi_match),
drivers/staging/iio/light/isl29028.c +0 -1
@@ -546,7 +546,6 @@ static const struct of_device_id isl29028_of_match[] = {MODULE_DEVICE_TABLE (of, isl29028_of_match);static struct i2c_driver isl29028_driver = { - .class =I2C_CLASS_HWMON , .driver = { .name ="isl29028" , .of_match_table = isl29028_of_match,
Signature · 1 line
2.1.4
Quoted 7 lines · Alison Schofield
I2C_CLASS_HWMONis for a hardware monitoring chip wanting auto-detection. IIO drivers don't typically use .class. Remove it.Signed-off-by Alison Schofield <[email protected]>Cc Daniel Baluta <[email protected]>
Agree.
Jonathan Cameron
maintainerQuoted 6 lines · Laxman Dewangan
Quoted 4 lines · Alison Schofield
I2C_CLASS_HWMONis for a hardware monitoring chip wanting auto-detection. IIO drivers don't typically use .class. Remove it.
Quoted 6 lines
Quoted 3 lines
Signed-off-by Alison Schofield <[email protected]>Cc Daniel Baluta <[email protected]>Agree.
Acked-by Laxman Dewangan <[email protected]>
Any resulting ABI change from dropping it?
I don't think so, as it doesn't support detection anyway, but best to be sure ;)
Quoted 4 lines
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Wolfram Sang
Acked-byQuoted 7 lines · Jonathan Cameron
Quoted 6 lines · Laxman Dewangan
Quoted 4 lines · Alison Schofield
I2C_CLASS_HWMONis for a hardware monitoring chip wanting auto-detection. IIO drivers don't typically use .class. Remove it.
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines
Signed-off-by Alison Schofield <[email protected]>Cc Daniel Baluta <[email protected]>Agree.
Acked-by Laxman Dewangan <[email protected]>Any resulting ABI change from dropping it?
What do you mean with ABI? This is only relevant for "automatic" instantiation. From me:
Jonathan Cameron
maintainerQuoted 12 lines · Wolfram Sang
Quoted 11 lines · Jonathan Cameron
Quoted 10 lines · Laxman Dewangan
Quoted 7 lines · Alison Schofield
I2C_CLASS_HWMONis for a hardware monitoring chip wanting auto-detection. IIO drivers don't typically use .class. Remove it.Signed-off-by Alison Schofield <[email protected]>Cc Daniel Baluta <[email protected]>
Quoted 6 lines
Quoted 3 lines
Quoted 2 lines
Agree.
Acked-by Laxman Dewangan <[email protected]>Any resulting ABI change from dropping it?
What do you mean with ABI? This is only relevant for "automatic" instantiation.
Cool, I was just being paranoid and didn't have time to check!
Thanks,
Jonathan
Quoted 4 lines
From me:
Acked-by Wolfram Sang <[email protected]>
Quoted 17 lines · Jonathan Cameron
Quoted 16 lines · Wolfram Sang
Quoted 14 lines · Jonathan Cameron
Quoted 6 lines · Laxman Dewangan
Quoted 4 lines · Alison Schofield
I2C_CLASS_HWMONis for a hardware monitoring chip wanting auto-detection. IIO drivers don't typically use .class. Remove it.Quoted 6 lines
Quoted 3 lines
Signed-off-by Alison Schofield <[email protected]>Cc Daniel Baluta <[email protected]>Agree.
Acked-by Laxman Dewangan <[email protected]>Any resulting ABI change from dropping it?
Quoted 12 lines
Quoted 2 lines
What do you mean with ABI? This is only relevant for "automatic" instantiation.
Cool, I was just being paranoid and didn't have time to check!
Thanks,
Jonathan
Quoted 4 lines
From me:
Acked-by Wolfram Sang <[email protected]>
Applied to the togreg branch of iio.git - initially pushed out as testing for the autoubuilders to play with it.
thanks,
Jonathan
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html