[PATCH RESEND v4] input: keyboard: Add keys driver for the LPC32xx SoC

Shubhrajyoti shubhrajyoti at ti.com
Tue Jun 12 15:28:01 EST 2012


On Tuesday 12 June 2012 01:14 AM, Roland Stigge wrote:
> +
> +struct lpc32xx_kscan_drv {
> +	struct input_dev *input;
> +	struct lpc32xx_kscan_cfg *kscancfg;
> +	struct clk *clk;
> +	void __iomem *kscan_base;
> +	int irq;
Do you really need this irq field?  It is used in the probe and remove only.

> +	u8 lastkeystates[8];
> +	u32 io_p_start;
> +	u32 io_p_size;
> +};



More information about the devicetree-discuss mailing list