diff mbox

input synaptics-rmi4 trivial: rmi_f01.c tidy-up

Message ID 1388459456-7247-1-git-send-email-cheiny@synaptics.com (mailing list archive)
State New, archived
Headers show

Commit Message

Christopher Heiny Dec. 31, 2013, 3:10 a.m. UTC
This has two trivial changes:

1) make sure spacing around operators is correct.

2) capitalize Synaptics appropriately.

Signed-off-by: Christopher Heiny <cheiny@synaptics.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>

---

 drivers/input/rmi4/rmi_f01.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Dmitry Torokhov Dec. 31, 2013, 6:44 p.m. UTC | #1
On Mon, Dec 30, 2013 at 07:10:56PM -0800, Christopher Heiny wrote:
> This has two trivial changes:
> 
> 1) make sure spacing around operators is correct.
> 
> 2) capitalize Synaptics appropriately.
> 
> Signed-off-by: Christopher Heiny <cheiny@synaptics.com>

Applied, thank you.
diff mbox

Patch

diff --git a/drivers/input/rmi4/rmi_f01.c b/drivers/input/rmi4/rmi_f01.c
index 840a8d0..628b082 100644
--- a/drivers/input/rmi4/rmi_f01.c
+++ b/drivers/input/rmi4/rmi_f01.c
@@ -156,7 +156,7 @@  static int rmi_f01_alloc_memory(struct rmi_function *fn,
 	}
 
 	f01->device_control.interrupt_enable = devm_kzalloc(&fn->dev,
-			sizeof(u8)*(num_of_irq_regs),
+			sizeof(u8) * (num_of_irq_regs),
 			GFP_KERNEL);
 	if (!f01->device_control.interrupt_enable) {
 		dev_err(&fn->dev, "Failed to allocate interrupt enable.\n");
@@ -280,7 +280,7 @@  static int rmi_f01_initialize(struct rmi_function *fn)
 
 	dev_info(&fn->dev, "found RMI device, manufacturer: %s, product: %s\n",
 		 data->properties.manufacturer_id == 1 ?
-							"synaptics" : "unknown",
+							"Synaptics" : "unknown",
 		 data->properties.product_id);
 
 	/* read control register */