lkml.org 
[lkml]   [2015]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Add generic driver for Silead tochscreens
From
Date
On vr, 2015-07-10 at 18:11 +0300, Robert Dolca wrote:
> +static struct i2c_driver silead_ts_driver = {
> + [...]
> + .driver = {
> + [...]
> +#ifdef CONFIG_ACPI
> + .acpi_match_table = ACPI_PTR(silead_ts_acpi_match),
> +#endif

A nit: for the !CONFIG_ACPI case include/linux/acpi.h contains
#define ACPI_PTR(_ptr) (NULL)

So I think the above CONFIG_ACPI guard is superfluous and can be dropped.

> +[...]
> + },
> +};

Thanks,


Paul Bolle


\
 
 \ /
  Last update: 2015-07-11 15:21    [W:0.072 / U:2.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site