mtd: devices: elm: update DRIVER_NAME as "omap-elm"
authorPekon Gupta <pekon@ti.com>
Thu, 20 Mar 2014 13:18:37 +0000 (18:48 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 26 Mar 2014 06:09:06 +0000 (23:09 -0700)
use "omap-elm" as DRIVER_NAME

Signed-off-by: Pekon Gupta <pekon@ti.com>
Reviewed-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/elm.c

index 26df41f20c1f37e6876ff3b73e2639fb9be5e1f4..1fd4a0f779674475513837c4ed18a7e30f3a259d 100644 (file)
@@ -15,6 +15,8 @@
  *
  */
 
+#define DRIVER_NAME    "omap-elm"
+
 #include <linux/platform_device.h>
 #include <linux/module.h>
 #include <linux/interrupt.h>
@@ -520,7 +522,7 @@ MODULE_DEVICE_TABLE(of, elm_of_match);
 
 static struct platform_driver elm_driver = {
        .driver = {
-               .name   = "elm",
+               .name   = DRIVER_NAME,
                .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(elm_of_match),
                .pm     = &elm_pm_ops,