Răsfoiți Sursa

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 ani în urmă
părinte
comite
52bbe3c7b4
1 a modificat fișierele cu 386 adăugiri și 505 ștergeri
  1. 386 505
      drivers/platform/x86/eeepc-laptop.c

Fișier diff suprimat deoarece este prea mare
+ 386 - 505
drivers/platform/x86/eeepc-laptop.c


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff