Input: iqs5xx - minor cosmetic improvements

Copyrights are generally followed by the name of a person or a
company (i.e. the copyright holder) but that was not done here.
Fix this by squashing the 'copyright' and 'author' lines.

Also, trim some leading whitespace ahead of the parameters for
the fw_file_store() function and re-align them for readability.

Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/1611002626-5889-2-git-send-email-jeff@labundy.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Jeff LaBundy 2021-01-24 20:14:35 -08:00 committed by Dmitry Torokhov
parent 9517b95bdc
commit 785a19d97c

View File

@ -2,8 +2,7 @@
/* /*
* Azoteq IQS550/572/525 Trackpad/Touchscreen Controller * Azoteq IQS550/572/525 Trackpad/Touchscreen Controller
* *
* Copyright (C) 2018 * Copyright (C) 2018 Jeff LaBundy <jeff@labundy.com>
* Author: Jeff LaBundy <jeff@labundy.com>
* *
* These devices require firmware exported from a PC-based configuration tool * These devices require firmware exported from a PC-based configuration tool
* made available by the vendor. Firmware files may be pushed to the device's * made available by the vendor. Firmware files may be pushed to the device's
@ -952,8 +951,9 @@ err_kfree:
return error; return error;
} }
static ssize_t fw_file_store(struct device *dev, struct device_attribute *attr, static ssize_t fw_file_store(struct device *dev,
const char *buf, size_t count) struct device_attribute *attr, const char *buf,
size_t count)
{ {
struct iqs5xx_private *iqs5xx = dev_get_drvdata(dev); struct iqs5xx_private *iqs5xx = dev_get_drvdata(dev);
struct i2c_client *client = iqs5xx->client; struct i2c_client *client = iqs5xx->client;