pata_at32: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Mar 2013 01:39:47 +0000 (10:39 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 3 Apr 2013 23:52:10 +0000 (19:52 -0400)
commitbdfa2e7e5a46d7dcd9ff127fdf198faf90f0e215
tree9365f5cbcf5ce760f0ed0f1053068548a364321e
parent6d3bfc7be6f80d0c6ee6800d58d573343bf6e260
pata_at32: use module_platform_driver_probe()

This patch uses module_platform_driver_probe() macro which makes
the code smaller and simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_at32.c