]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: ep93xx: keypad: stop using mach/platform.h
authorArnd Bergmann <arnd@arndb.de>
Mon, 15 Apr 2019 20:17:10 +0000 (22:17 +0200)
committerOlof Johansson <olof@lixom.net>
Mon, 29 Apr 2019 06:08:35 +0000 (23:08 -0700)
commitdfb6db007a56998e53e5ba5fb798b2e830b7feca
tree6ffbb37a6e55cd9a397509370220a82146b7873f
parent1b8c813695dcff87b58ad1916bff2299dcf01c7f
ARM: ep93xx: keypad: stop using mach/platform.h

We can communicate the clock rate using platform data rather than setting
a flag to use a particular value in the driver, which is cleaner and
avoids the dependency.

No platform in the kernel currently defines the ep93xx keypad device
structure, so this is a rather pointless excercise.  Any out of tree
users are probably dead now, but if not, they have to change their
platform code to match the new platform_data structure.

Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/input/keyboard/Kconfig
drivers/input/keyboard/ep93xx_keypad.c
include/linux/platform_data/keypad-ep93xx.h