projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f7ea3c
)
[PATCH] I2C: i2c-ixp4xx: Add hwmon class
author
Alessandro Zummo
<a.zummo@towertech.it>
Mon, 27 Feb 2006 22:12:58 +0000
(23:12 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 23 Mar 2006 22:21:55 +0000
(14:21 -0800)
This patch adds I2C_CLASS_HWMON to the ixp4xx bus driver.
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/busses/i2c-ixp4xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-ixp4xx.c
b/drivers/i2c/busses/i2c-ixp4xx.c
index e422d8b2d4d69536f618dc8e883907152b5119bd..2ed07112d683fa7cd1c72b0a31a7e95c6645543d 100644
(file)
--- a/
drivers/i2c/busses/i2c-ixp4xx.c
+++ b/
drivers/i2c/busses/i2c-ixp4xx.c
@@
-126,6
+126,7
@@
static int ixp4xx_i2c_probe(struct platform_device *plat_dev)
drv_data->algo_data.timeout = 100;
drv_data->adapter.id = I2C_HW_B_IXP4XX;
+ drv_data->adapter.class = I2C_CLASS_HWMON;
strlcpy(drv_data->adapter.name, plat_dev->dev.driver->name,
I2C_NAME_SIZE);
drv_data->adapter.algo_data = &drv_data->algo_data;