summaryrefslogtreecommitdiff
path: root/drivers/staging/fbtft/fb_ssd1331.c
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2018-05-25 19:54:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-01 12:17:05 +0300
commitba64745694e20b4aa6738f17c1583c7f4832daf5 (patch)
tree828bde7828a85def8b4522628f419e2c7b18fbe4 /drivers/staging/fbtft/fb_ssd1331.c
parente84ff3a22cfbcbe59ca1f113f4f129068aea604f (diff)
downloadlinux-ba64745694e20b4aa6738f17c1583c7f4832daf5.tar.xz
staging: mt7621-gpio: use module_platform_driver() instead subsys initcall
The driver's init function don't do anything besides registering the platform driver, and the exit function which is not included in the driver should only do driver unregister. Because of this module_platform_driver() macro could just be used instead of having separate functions. Currently the macro is not being used because the driver is initialized at subsys init call level but this isn't necessary since platform devices are defined in the DT as dependencies so there's no need for init calls order. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fbtft/fb_ssd1331.c')
0 files changed, 0 insertions, 0 deletions