Re: [PATCHv6 1/3] ARM: imx: Add gpio-keys to plat-mxc

From: Eric Bénard
Date: Sat Oct 23 2010 - 04:06:50 EST


Hi Dinh,

Le 23/10/2010 04:46, Dinh.Nguyen@xxxxxxxxxxxxx a écrit :
+struct platform_device *__init imx_add_gpio_keys(
+ const struct gpio_keys_platform_data *pdata)
+{
+ return imx_add_platform_device("gpio-keys", -1, NULL,
+ 0, pdata, sizeof(*pdata));
+}

What is the added value of this ?
gpio-keys is not i.MX specific so why should that land in plat-mxc ?

Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/