aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorMattia Dongili <malattia@linux.it>2014-03-20 19:01:22 -0400
committerMatthew Garrett <matthew.garrett@nebula.com>2014-04-06 12:58:13 -0400
commite22510eadd65e73709709c81dc2ab0a6ded97c90 (patch)
tree6f9b5a23186382e76358ca2f64c2fc8bb7618d84 /drivers/platform
parentd58dc780c458d429afa805578c743af4f107139a (diff)
sony-laptop: remove useless sony-laptop versioning
Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/sony-laptop.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index 19d769e0d774..9c5a07417b2b 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -76,8 +76,6 @@ do { \
76 pr_warn(fmt, ##__VA_ARGS__); \ 76 pr_warn(fmt, ##__VA_ARGS__); \
77} while (0) 77} while (0)
78 78
79#define SONY_LAPTOP_DRIVER_VERSION "0.6"
80
81#define SONY_NC_CLASS "sony-nc" 79#define SONY_NC_CLASS "sony-nc"
82#define SONY_NC_HID "SNY5001" 80#define SONY_NC_HID "SNY5001"
83#define SONY_NC_DRIVER_NAME "Sony Notebook Control Driver" 81#define SONY_NC_DRIVER_NAME "Sony Notebook Control Driver"
@@ -89,7 +87,6 @@ do { \
89MODULE_AUTHOR("Stelian Pop, Mattia Dongili"); 87MODULE_AUTHOR("Stelian Pop, Mattia Dongili");
90MODULE_DESCRIPTION("Sony laptop extras driver (SPIC and SNC ACPI device)"); 88MODULE_DESCRIPTION("Sony laptop extras driver (SPIC and SNC ACPI device)");
91MODULE_LICENSE("GPL"); 89MODULE_LICENSE("GPL");
92MODULE_VERSION(SONY_LAPTOP_DRIVER_VERSION);
93 90
94static int debug; 91static int debug;
95module_param(debug, int, 0); 92module_param(debug, int, 0);
@@ -3154,8 +3151,6 @@ static int sony_nc_add(struct acpi_device *device)
3154 int result = 0; 3151 int result = 0;
3155 struct sony_nc_value *item; 3152 struct sony_nc_value *item;
3156 3153
3157 pr_info("%s v%s\n", SONY_NC_DRIVER_NAME, SONY_LAPTOP_DRIVER_VERSION);
3158
3159 sony_nc_acpi_device = device; 3154 sony_nc_acpi_device = device;
3160 strcpy(acpi_device_class(device), "sony/hotkey"); 3155 strcpy(acpi_device_class(device), "sony/hotkey");
3161 3156
@@ -3249,6 +3244,7 @@ static int sony_nc_add(struct acpi_device *device)
3249 } 3244 }
3250 } 3245 }
3251 3246
3247 pr_info("SNC setup done.\n");
3252 return 0; 3248 return 0;
3253 3249
3254out_sysfs: 3250out_sysfs:
@@ -4687,8 +4683,6 @@ static int sony_pic_add(struct acpi_device *device)
4687 struct sony_pic_ioport *io, *tmp_io; 4683 struct sony_pic_ioport *io, *tmp_io;
4688 struct sony_pic_irq *irq, *tmp_irq; 4684 struct sony_pic_irq *irq, *tmp_irq;
4689 4685
4690 pr_info("%s v%s\n", SONY_PIC_DRIVER_NAME, SONY_LAPTOP_DRIVER_VERSION);
4691
4692 spic_dev.acpi_dev = device; 4686 spic_dev.acpi_dev = device;
4693 strcpy(acpi_device_class(device), "sony/hotkey"); 4687 strcpy(acpi_device_class(device), "sony/hotkey");
4694 sony_pic_detect_device_type(&spic_dev); 4688 sony_pic_detect_device_type(&spic_dev);
@@ -4788,6 +4782,7 @@ static int sony_pic_add(struct acpi_device *device)
4788 if (result) 4782 if (result)
4789 goto err_remove_pf; 4783 goto err_remove_pf;
4790 4784
4785 pr_info("SPIC setup done.\n");
4791 return 0; 4786 return 0;
4792 4787
4793err_remove_pf: 4788err_remove_pf: