summaryrefslogtreecommitdiff
path: root/drivers/acpi/osi.c
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-05-03 11:48:53 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-05 01:13:52 +0300
commitd5a91d74c6d7da2cebadbb9f2d03e56f84d7be62 (patch)
tree29218579b3e13b80c1505162c133a70f26228042 /drivers/acpi/osi.c
parentdc45eb20a83d11ed649169fbe9159ed6bf586c88 (diff)
downloadlinux-d5a91d74c6d7da2cebadbb9f2d03e56f84d7be62.tar.xz
ACPI / osi: Cleanup coding style issues before creating a separate OSI source file
This patch performs necessary cleanups before moving OSI support to another file. 1. Change printk into pr_xxx 2. Do not initialize values to 0 3. Do not append additional "return" at the end of the function 4. Remove useless comments which may easily break line breaking rule After fixing the coding style issues, rename functions to make them looking like acpi_osi_xxx. No functional changes. Tested-by: Lukas Wunner <lukas@wunner.de> Tested-by: Chen Yu <yu.c.chen@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/osi.c')
0 files changed, 0 insertions, 0 deletions