staging: xillybus: Use module_platform_driver
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 10 Oct 2013 04:00:04 +0000 (09:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 22:23:14 +0000 (15:23 -0700)
commit7a620a650b975cefd1b10b2ed7144b6c480fff12
treeed8e6abfde1ae8f4d2fcfc28e90b3d63ce0bcbed
parent47052577bcb941da36a991fea3dadc0d3b14c741
staging: xillybus: Use module_platform_driver

module_platform_driver simplifies the code by removing the boilerplate.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xillybus/xillybus_of.c