From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal =?ISO-8859-1?Q?Mal=FD?= Subject: [PATCHv2 3/3] Cleanup: Fix a compile error in hid-lg4ff and remove an extra include in hid-lg.h Date: Wed, 14 Mar 2012 18:41:51 +0100 Message-ID: <2265349.gN1B18tWc4@qosmio-x300> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1484037.V9Wdz7DoqJ"; micalg="pgp-sha1"; protocol="application/pgp-signature" Content-Transfer-Encoding: quoted-printable Return-path: Received: from smtp-out4.iol.cz ([194.228.2.92]:36258 "EHLO smtp-out4.iol.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761133Ab2CNSCi (ORCPT ); Wed, 14 Mar 2012 14:02:38 -0400 Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: linux-input@vger.kernel.org Cc: jkosina@suse.cz, simon@mungewell.org --nextPart1484037.V9Wdz7DoqJ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" My mind was apparently wandering around a bit which lead to a compile e= rror in=20 hid-lg4ff. I also forgot to remove the spinlock.h include from hid-lg.h I am sorry= about=20 this mess... Signed-off-by: Michal Mal=FD >>From 61bbb9d5be1d8957ad8c6b63a4a6b911cb8aa12e Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Michal=3D20Mal=3DC3=3DBD?=3D Date: Wed, 14 Mar 2012 18:34:33 +0100 Subject: [PATCH 3/3] HID: hid-lg4ff: Fix hid_err call, hid-lg: Remove a= superfluous include --- drivers/hid/hid-lg.h | 2 -- drivers/hid/hid-lg4ff.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/hid/hid-lg.h b/drivers/hid/hid-lg.h index 500457b..d64cf8d 100644 --- a/drivers/hid/hid-lg.h +++ b/drivers/hid/hid-lg.h @@ -1,8 +1,6 @@ #ifndef __HID_LG_H #define __HID_LG_H =20 -#include - struct lg_drv_data { =09unsigned long quirks; =09void *device_props;=09/* Device specific properties */ diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c index f70ae41..1145292 100644 --- a/drivers/hid/hid-lg4ff.c +++ b/drivers/hid/hid-lg4ff.c @@ -481,7 +481,7 @@ int lg4ff_deinit(struct hid_device *hid) =09} =20 =09if (!found) { -=09=09dbg_err("Device entry not found!\n"); +=09=09hid_err(hid, "Device entry not found!\n"); =09=09return -1; =09} =20 --=20 1.7.9.4 --nextPart1484037.V9Wdz7DoqJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAABAgAGBQJPYNhgAAoJEERrVaOJCK16QzwH/A6Zm228+B4TQ1Zp97A/a4hM FZJTe3IClINo15t6/j/cB5CVYk6SVCFKR3Fdpss9NU+031dN8vmlfMbtHAyjkOgG cGuzzL11VnLtv4zEigcbvl246fD811JNXvxWZhzU3v3Ngm6lG1n6WhsoseVHMqKx 8lkVbwUejwTSOc7yhBookLipslRjnQ9rztGRuSqPLYx5CaeHtTAcYS5AIaZ1f1J+ 1Gr8DeDGcVMJhRRfWzD6nG8y7RyEs6Y50cGgzkQ5PECEffixO757nyhPbffdQE/m HSj39rK2LdxbBX5caIsmHKsZEIUkhCAsUlmFQ6R3u78o2Yls1SBPBY9JmV/Ve3E= =PZ+d -----END PGP SIGNATURE----- --nextPart1484037.V9Wdz7DoqJ--