lkml.org 
[lkml]   [2012]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RESEND v4] input: keyboard: Add keys driver for the LPC32xx SoC
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;
> +};



\
 
 \ /
  Last update: 2012-06-12 08:01    [W:0.124 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site