unicore32 machine related files: add i2c bus drivers for pkunity-v3 soc
authorGuanXuetao <gxt@mprc.pku.edu.cn>
Sat, 26 Feb 2011 13:29:29 +0000 (21:29 +0800)
committerGuanXuetao <gxt@mprc.pku.edu.cn>
Thu, 17 Mar 2011 01:19:20 +0000 (09:19 +0800)
commitd10e4a660d11212a41ac5d2c116a655e25e2d38a
tree4c7452a2f41569bd830bacb174c260ba95421520
parente5abf78b57199a417eb01ff922a5ea6ff9e10b61
unicore32 machine related files: add i2c bus drivers for pkunity-v3 soc

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 ones

Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Acked-by: Arnd Bergmann <arnd@arndb.de>
MAINTAINERS
arch/unicore32/configs/debug_defconfig
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-puv3.c [new file with mode: 0644]
This page took 0.027248 seconds and 5 git commands to generate.