drivers/macintosh: Various cleanups
authorAdrian Bunk <bunk@kernel.org>
Mon, 23 Jun 2008 17:46:57 +0000 (03:46 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Jul 2008 01:28:06 +0000 (11:28 +1000)
commit9b4a8dd2e9f8af206eb39e3d99c442b0d6158953
treefcdb929187809ec1dcc7eb3468ecc0d527899041
parentf0c426bc3557a93e9d2f2863fda1e2042f942a60
drivers/macintosh: Various cleanups

This contains the following cleanups:
- make the following needlessly global code static:
  - adb.c: adb_controller
  - adb.c: adb_init()
  - adbhid.c: adb_to_linux_keycodes[]  (also make it const)
  - via-pmu68k.c: backlight_level
  - via-pmu68k.c: backlight_enabled
- remove the following unused code:
  - via-pmu68k.c: sleep_notifier_list

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/adb.c
drivers/macintosh/adbhid.c
drivers/macintosh/via-pmu68k.c
include/linux/adb.h