i2c-puv3: using module_platform_driver()
authorGuan Xuetao <gxt@mprc.pku.edu.cn>
Mon, 26 Dec 2011 08:59:34 +0000 (16:59 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Tue, 10 Jan 2012 02:29:41 +0000 (10:29 +0800)
commit858af58f67d4aba8afb02438e74292b9273cdb10
tree8dee8d44e5dae4621ed9e113052cee7868f114a6
parenta9196b0bd3284fa3388998c9208a708a8f2e4c83
i2c-puv3: using module_platform_driver()

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 <axel.lin@gmail.com>
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
drivers/i2c/busses/i2c-puv3.c