[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1436619923.2679.5.camel@tiscali.nl>
Date: Sat, 11 Jul 2015 15:05:23 +0200
From: Paul Bolle <pebolle@...cali.nl>
To: Robert Dolca <robert.dolca@...el.com>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Henrik Rydberg <rydberg@...math.org>
Subject: Re: [PATCH] Add generic driver for Silead tochscreens
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists