From: Colin King <colin.king@canonical.com> To: Jiri Kosina <jikos@kernel.org>, Benjamin Tissoires <benjamin.tissoires@redhat.com>, linux-input@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] HID: core: clean up indentation issue Date: Sun, 22 Sep 2019 13:50:54 +0200 [thread overview] Message-ID: <20190922115054.10880-1-colin.king@canonical.com> (raw) From: Colin Ian King <colin.king@canonical.com> There is an if statement that is indented by one extra space, fix this by removing the extraneous space. Signed-off-by: Colin Ian King <colin.king@canonical.com> --- drivers/hid/hid-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 3eaee2c37931..9469c382a182 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -2329,10 +2329,10 @@ int hid_add_device(struct hid_device *hdev) /* * Check for the mandatory transport channel. */ - if (!hdev->ll_driver->raw_request) { + if (!hdev->ll_driver->raw_request) { hid_err(hdev, "transport driver missing .raw_request()\n"); return -EINVAL; - } + } /* * Read the device report descriptor once and use as template -- 2.20.1
WARNING: multiple messages have this Message-ID (diff)
From: Colin King <colin.king@canonical.com> To: Jiri Kosina <jikos@kernel.org>, Benjamin Tissoires <benjamin.tissoires@redhat.com>, linux-input@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] HID: core: clean up indentation issue Date: Sun, 22 Sep 2019 11:50:54 +0000 [thread overview] Message-ID: <20190922115054.10880-1-colin.king@canonical.com> (raw) From: Colin Ian King <colin.king@canonical.com> There is an if statement that is indented by one extra space, fix this by removing the extraneous space. Signed-off-by: Colin Ian King <colin.king@canonical.com> --- drivers/hid/hid-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 3eaee2c37931..9469c382a182 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -2329,10 +2329,10 @@ int hid_add_device(struct hid_device *hdev) /* * Check for the mandatory transport channel. */ - if (!hdev->ll_driver->raw_request) { + if (!hdev->ll_driver->raw_request) { hid_err(hdev, "transport driver missing .raw_request()\n"); return -EINVAL; - } + } /* * Read the device report descriptor once and use as template -- 2.20.1
next reply other threads:[~2019-09-22 11:51 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-09-22 11:50 Colin King [this message] 2019-09-22 11:50 ` [PATCH] HID: core: clean up indentation issue Colin King 2019-09-23 11:04 ` Jiri Kosina 2019-09-23 11:04 ` Jiri Kosina 2019-09-25 11:47 ` Dan Carpenter 2019-09-25 11:47 ` Dan Carpenter 2019-09-27 10:04 ` Benjamin Tissoires 2019-09-27 10:04 ` Benjamin Tissoires
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190922115054.10880-1-colin.king@canonical.com \ --to=colin.king@canonical.com \ --cc=benjamin.tissoires@redhat.com \ --cc=jikos@kernel.org \ --cc=kernel-janitors@vger.kernel.org \ --cc=linux-input@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.