Commit b75b23bc authored by Alison Schofield's avatar Alison Schofield Committed by Jonathan Cameron

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.
Signed-off-by: default avatarAlison Schofield <amsfield22@gmail.com>
Cc: Daniel Baluta <daniel.baluta@gmail.com>
Acked-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Acked-by: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent f6127704
...@@ -823,7 +823,6 @@ static const struct of_device_id isl29018_of_match[] = { ...@@ -823,7 +823,6 @@ static const struct of_device_id isl29018_of_match[] = {
MODULE_DEVICE_TABLE(of, isl29018_of_match); MODULE_DEVICE_TABLE(of, isl29018_of_match);
static struct i2c_driver isl29018_driver = { static struct i2c_driver isl29018_driver = {
.class = I2C_CLASS_HWMON,
.driver = { .driver = {
.name = "isl29018", .name = "isl29018",
.acpi_match_table = ACPI_PTR(isl29018_acpi_match), .acpi_match_table = ACPI_PTR(isl29018_acpi_match),
......
...@@ -546,7 +546,6 @@ static const struct of_device_id isl29028_of_match[] = { ...@@ -546,7 +546,6 @@ static const struct of_device_id isl29028_of_match[] = {
MODULE_DEVICE_TABLE(of, isl29028_of_match); MODULE_DEVICE_TABLE(of, isl29028_of_match);
static struct i2c_driver isl29028_driver = { static struct i2c_driver isl29028_driver = {
.class = I2C_CLASS_HWMON,
.driver = { .driver = {
.name = "isl29028", .name = "isl29028",
.of_match_table = isl29028_of_match, .of_match_table = isl29028_of_match,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment