Re: [PATCH] input: gpio_keys: Make pdev vs dev usage more consistent

2015-10-02 Thread Bjorn Andersson
On Fri 02 Oct 10:47 PDT 2015, Dmitry Torokhov wrote: > On Mon, Jul 27, 2015 at 06:50:18PM -0700, Bjorn Andersson wrote: > > As gpio_keys_setup_key() only operates on the device, pass a pointer to > > this from the probe instead of a platform_device and make the usage > > consistent. Also make prob

Re: [PATCH] input: gpio_keys: Make pdev vs dev usage more consistent

2015-10-02 Thread Dmitry Torokhov
On Mon, Jul 27, 2015 at 06:50:18PM -0700, Bjorn Andersson wrote: > As gpio_keys_setup_key() only operates on the device, pass a pointer to > this from the probe instead of a platform_device and make the usage > consistent. Also make probe() more consistent by dropping the local copy > of the device

[PATCH] input: gpio_keys: Make pdev vs dev usage more consistent

2015-07-27 Thread Bjorn Andersson
As gpio_keys_setup_key() only operates on the device, pass a pointer to this from the probe instead of a platform_device and make the usage consistent. Also make probe() more consistent by dropping the local copy of the device pointer. Signed-off-by: Bjorn Andersson --- drivers/input/keyboard/gp