platform/x86: ideapad-laptop: hide unused 'touchpad_store'
authorArnd Bergmann <arnd@arndb.de>
Mon, 22 May 2017 13:07:03 +0000 (15:07 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 May 2017 16:36:25 +0000 (19:36 +0300)
commit46936fd65c107ed935e21bfa6fc00b4f510b1714
treec05dd867b1fc8c1be5c49a1aa70737cc13ff6592
parent23ccd0363c9b1fbe7bbba3123cf2c1bc870f584a
platform/x86: ideapad-laptop: hide unused 'touchpad_store'

A readonly sysfs property must not have a 'store' function:

drivers/platform/x86/ideapad-laptop.c:438:16: error: 'touchpad_store' defined but not used [-Werror=unused-function]

We can either comment it out or remove the function entirely,
without a good reason one or or another I picked the second option.

Fixes: 7f363145992c ("platform/x86: ideapad-laptop: Switch touchpad attribute to be RO")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c