diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2009-12-15 08:39:51 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-12-15 08:54:45 -0800 |
commit | 60214f058f44cfaa38db2abf0b42d4436c31aa58 (patch) | |
tree | d3448d974cd96bd353e5b82b49fa2b19f161b531 /tools | |
parent | 7547a3e8a43d31aaf91c2daf5f597e43212ccddf (diff) | |
download | linux-60214f058f44cfaa38db2abf0b42d4436c31aa58.tar.bz2 |
Input: ep93xx_keypad - update driver to new core support
This driver was merged before the ep93xx core support was added
for the keypad clock and acquiring/releasing the necessary gpio's.
Now that the proper support is in the ep93xx core this driver
needs to be updated to work correctly.
Summary of changes:
1) Remove some unused members from the platform data.
2) Remove the custom KEY macro and use the ones available in
<linux/input/matrix_keypad.h>
3) Remove the keypad_{readl/writel} macros and just use
__raw_{readl/writel} directly.
4) Update the clk_set_rate() call to work with the core support.
5) Cleanup the probe routine and remove some unneeded messages.
6) Use the ep93xx core functions to acquire and release the gpio's.
7) Fix the clk_get() call to get the keypad clock.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions