瀏覽代碼

eeepc-laptop: code movement

Move e.g. backlight_init() and backlight_exit() together along with the
other backlight functions, instead of grouping init() and exit()
functions.  Move e.g. backlight_ops to follow the functions it refers
to, and remove the forward declarations.  The code itself should remain
unchanged.

The eeepc-laptop driver implements a number of interfaces like the
backlight class driver.  This change makes it easier to examine the
implementation of one interface at at a time, without having to search
through the file to find init() and exit() functions etc.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
Alan Jenkins 15 年之前
父節點
當前提交
52bbe3c7b4
共有 1 個文件被更改,包括 386 次插入505 次删除
  1. 386 505
      drivers/platform/x86/eeepc-laptop.c

File diff suppressed because it is too large
+ 386 - 505
drivers/platform/x86/eeepc-laptop.c


Some files were not shown because too many files changed in this diff