]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/platform/x86/eeepc-laptop.c
eeepc-laptop: change sysfs function names to API expectations
authorFrans Klaver <fransklaver@gmail.com>
Wed, 17 Sep 2014 21:47:20 +0000 (23:47 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 19 Sep 2014 16:42:11 +0000 (09:42 -0700)
commit8c72fc8bd7c698d7b5c99b83e187fda0d1538e1a
tree4e4a77bb06ddc032c8322635112b802b4f1f0fd4
parent39a3e17e0d5c50e382992eeed6bb62668c31ded7
eeepc-laptop: change sysfs function names to API expectations

The eeepc-laptop driver follows the function naming convention
<action>_<attrname>(), while the sysfs macros are built around the
convention <attrname>_<action>(). Rename the sysfs functions to the
convention used by sysfs. This makes it easier to use the available API
later on.

Signed-off-by: Frans Klaver <fransklaver@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/eeepc-laptop.c