Re: [PATCH v6 3/4] HID: lenovo: Don't call function in condition, show error codes

2014-07-28 Thread Dmitry Torokhov
On Sat, Jul 26, 2014 at 03:42:27PM +0100, Jamie Lentin wrote: > Signed-off-by: Jamie Lentin > --- > drivers/hid/hid-lenovo.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c > index a56b9e7..f96bf09 100644 > ---

[PATCH v6 3/4] HID: lenovo: Don't call function in condition, show error codes

2014-07-26 Thread Jamie Lentin
Signed-off-by: Jamie Lentin --- drivers/hid/hid-lenovo.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c index a56b9e7..f96bf09 100644 --- a/drivers/hid/hid-lenovo.c +++ b/drivers/hid/hid-lenovo.c @@ -350,6 +350,7 @@