]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/staging/lirc/lirc_parallel.c
staging: lirc: fixed coding style
[~shefty/rdma-dev.git] / drivers / staging / lirc / lirc_parallel.c
index 832522c290cbd068250ea0cbf7559a8393f3adea..50724c4e2484c23dabd649092337165d263a3007 100644 (file)
@@ -568,17 +568,17 @@ static void set_use_dec(void *data)
 }
 
 static struct lirc_driver driver = {
-       .name           = LIRC_DRIVER_NAME,
-       .minor          = -1,
-       .code_length    = 1,
-       .sample_rate    = 0,
-       .data           = NULL,
-       .add_to_buf     = NULL,
-       .set_use_inc    = set_use_inc,
-       .set_use_dec    = set_use_dec,
-       .fops           = &lirc_fops,
-       .dev            = NULL,
-       .owner          = THIS_MODULE,
+       .name           = LIRC_DRIVER_NAME,
+       .minor          = -1,
+       .code_length    = 1,
+       .sample_rate    = 0,
+       .data           = NULL,
+       .add_to_buf     = NULL,
+       .set_use_inc    = set_use_inc,
+       .set_use_dec    = set_use_dec,
+       .fops           = &lirc_fops,
+       .dev            = NULL,
+       .owner          = THIS_MODULE,
 };
 
 static struct platform_device *lirc_parallel_dev;
@@ -594,7 +594,7 @@ static int __devexit lirc_parallel_remove(struct platform_device *dev)
 }
 
 static int lirc_parallel_suspend(struct platform_device *dev,
-                                 pm_message_t state)
+                                       pm_message_t state)
 {
        return 0;
 }
@@ -647,7 +647,8 @@ static int __init lirc_parallel_init(void)
 
        result = platform_driver_register(&lirc_parallel_driver);
        if (result) {
-               printk("platform_driver_register returned %d\n", result);
+               printk(KERN_NOTICE "platform_driver_register"
+                                       " returned %d\n", result);
                return result;
        }