of_i2c: fix request_module() usage
Subsystems (2)
PATCH 1/1 of_i2c: fix request_module() usage
similar to 326f6a5c9c9e1a62aec37bdc0c3f8d53adabe77b, the file the info.type value is read from could be broken.
Signed-off-by maximilian attems <[email protected]>
Acked-by Jean Delvare <[email protected]>
--- drivers/of/of_i2c.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/of/of_i2c.c +1 -1
@@ -100,7 +100,7 @@ void of_register_i2c_devices(struct i2c_adapter *adap, info.addr = *addr; -request_module (info.type); +request_module ("%s" , info.type); result =i2c_new_device (adap, &info);if (result ==NULL ) {
Signature · 7 lines
1.5.5.3 _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
Jochen Friedrich
Acked-byQuoted 5 lines · maximilian attems
similar to
326f6a5c9c9e1a62aec37bdc0c3f8d53adabe77b, the file the info.type value is read from could be broken.Signed-off-by maximilian attems <[email protected]>Acked-by Jean Delvare <[email protected]>
Acked-by Jochen Friedrich <[email protected]>
_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c