[PATCH v3] input: MXC: add mxc-keypad driver to support the Keypad Port present in the mxc application processors family.

Alberto Panizzo maramaopercheseimorto at gmail.com
Wed Jan 27 07:17:30 EST 2010


On mer, 2010-01-27 at 11:45 +0100, Uwe Kleine-König wrote:
> Hallo Alberto,
> 
> On Wed, Jan 27, 2010 at 11:33:04AM +0100, Lothar Waßmann wrote:
> > > +	keypad->clk = clk_get(NULL, "kpp");
> > >
> > clk_get(&pdev->dev, "kpp");
> Maybe even
> 
> 	clk_get(&pdev->dev, NULL);
> 

Mmm.. kpp clock is defined as:
	_REGISTER_CLOCK(NULL, "kpp", kpp_clk)

what you say should work if it would be defined as follow right?
	_REGISTER_CLOCK("mxc_keypad", "kpp", kpp_clk)




More information about the linux-arm-kernel mailing list