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

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

 




No  just an oversight..

Thanks,

Matt

On Fri, Oct 10, 2014 at 10:29 AM, Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:
> Hi Matt,
>
> On Thu, Oct 09, 2014 at 09:23:02PM -0700, Matt Ranostay wrote:
>> @@ -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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux