Re: [PATCH] ep93xx_keypad.c: update driver to new core support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 09, 2009 at 05:20:53PM -0500, H Hartley Sweeten wrote:
> ep93xx_keypad.c: 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@xxxxxxxxxxxxxxxxxxx>

Thank you Hartley. I will change 'enabled' to bool while we are at it
and apply for the next pull.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux