Re: [PATCH 03/42] drivers: gpio: amdpt: drop unneeded deref of >dev

2019-04-02 Thread Linus Walleij
On Tue, Mar 12, 2019 at 1:55 AM Enrico Weigelt, metux IT consult wrote: > We already have the struct device* pointer in a local variable, > so we can write this a bit shorter. > > Signed-off-by: Enrico Weigelt, metux IT consult Thierry seems to have spotted a bug in this patch so please resend

Re: [PATCH 03/42] drivers: gpio: amdpt: drop unneeded deref of >dev

2019-03-12 Thread Thierry Reding
On Mon, Mar 11, 2019 at 07:54:42PM +0100, Enrico Weigelt, metux IT consult wrote: > We already have the struct device* pointer in a local variable, > so we can write this a bit shorter. > > Signed-off-by: Enrico Weigelt, metux IT consult > --- > drivers/gpio/gpio-amdpt.c | 10 +- > 1

[PATCH 03/42] drivers: gpio: amdpt: drop unneeded deref of >dev

2019-03-11 Thread Enrico Weigelt, metux IT consult
We already have the struct device* pointer in a local variable, so we can write this a bit shorter. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-amdpt.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpio/gpio-amdpt.c