[PATCH 1/2] drivers: platform: Mark functions as static in hp_accel.c

2013-12-12 Thread Rashika Kheria
This patch marks the functions lis3lv02d_acpi_init(), lis3lv02d_acpi_read() and lis3lv02d_acpi_write() as static in x86/hp_accel.c because they are not used outside this file. Thus, it also eliminates the following warnings in x86/hp_accel.c: drivers/platform/x86/hp_accel.c:91:5: warning: no previ

Re: [PATCH 1/2] drivers: platform: Mark functions as static in hp_accel.c

2013-12-13 Thread Josh Triplett
On Fri, Dec 13, 2013 at 12:56:34PM +0530, Rashika Kheria wrote: > This patch marks the functions lis3lv02d_acpi_init(), > lis3lv02d_acpi_read() and lis3lv02d_acpi_write() as static in > x86/hp_accel.c because they are not used outside this file. > > Thus, it also eliminates the following warnings

Re: [PATCH 1/2] drivers: platform: Mark functions as static in hp_accel.c

2013-12-13 Thread Éric Piel
On 13-12-13 09:58, Josh Triplett wrote: On Fri, Dec 13, 2013 at 12:56:34PM +0530, Rashika Kheria wrote: This patch marks the functions lis3lv02d_acpi_init(), lis3lv02d_acpi_read() and lis3lv02d_acpi_write() as static in x86/hp_accel.c because they are not used outside this file. Thus, it also e