Thread (6 messages) 6 messages, 2 authors, 2014-10-10

Re: [PATCH v5 2/3] cap11xx: Add support for various cap11xx devices

From: Matt Ranostay <hidden>
Date: 2014-10-10 21:06:54
Also in: linux-devicetree

No  just an oversight..

Thanks,

Matt

On Fri, Oct 10, 2014 at 10:29 AM, Dmitry Torokhov
[off-list ref] wrote:
Hi Matt,

On Thu, Oct 09, 2014 at 09:23:02PM -0700, Matt Ranostay wrote:
quoted
@@ -63,7 +60,25 @@ struct cap11xx_priv {
      struct input_dev *idev;

      /* config */
-     unsigned short keycodes[CAP11XX_NUM_CHN];
+     unsigned int num_channels;
+     u32 keycodes[];
Any particular reason you decided to keep num_channels field givfen that
the same data is accessible through priv->idev->keycodemax?

Thanks.

--
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help