10 Jan, 2012
1 commit
-
This patch converts the driver to use the module_platform_driver()
macro which makes the code smaller and a bit simpler.Signed-off-by: Axel Lin
Signed-off-by: Guan Xuetao
17 Mar, 2011
1 commit
-
change from original version -- by advice of Jean Delvare
1. remove global variable i2c_reg, replaced by local variables
2. replace ENXIO with ENODEV when no platform resources
3. add adapter->nr assignment before i2c_add_numbered_adapter() call
4. add judgement for i2c_del_adapter() return value
5. release adapter when driver removed
6. add __devexit for puv3_i2c_remove() function
7. modify several names to more appropriated onesSigned-off-by: Guan Xuetao
Acked-by: Arnd Bergmann