Commit b186affe authored by Jingoo Han's avatar Jingoo Han Committed by Jeff Garzik

pata_samsung_cf: use module_platform_driver_probe()

This patch uses module_platform_driver_probe() macro which makes
the code smaller and simpler.
Signed-off-by: 's avatarJingoo Han <>
Signed-off-by: 's avatarJeff Garzik <>
parent e189551b
......@@ -661,18 +661,7 @@ static struct platform_driver pata_s3c_driver = {
static int __init pata_s3c_init(void)
return platform_driver_probe(&pata_s3c_driver, pata_s3c_probe);
static void __exit pata_s3c_exit(void)
module_platform_driver_probe(pata_s3c_driver, pata_s3c_probe);
MODULE_AUTHOR("Abhilash Kesavan, <>");
MODULE_DESCRIPTION("low-level driver for Samsung PATA controller");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment