Commit f9e4b732 authored by Alessandro Rubini's avatar Alessandro Rubini

kernel: small whitespace fixes (checkpatch)

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent f5c3b0ea
......@@ -79,8 +79,8 @@ static void fmc_release(struct device *dev)
*/
static ssize_t fmc_read_eeprom(struct file *file, struct kobject *kobj,
struct bin_attribute *bin_attr,
char *buf, loff_t off, size_t count)
struct bin_attribute *bin_attr,
char *buf, loff_t off, size_t count)
{
struct device *dev;
struct fmc_device *fmc;
......@@ -95,8 +95,8 @@ static ssize_t fmc_read_eeprom(struct file *file, struct kobject *kobj,
return 0; /* EOF */
if (off + count > eelen)
count = eelen - off;
memcpy(buf, fmc->eeprom + off, count);
return count;
memcpy(buf, fmc->eeprom + off, count);
return count;
}
static struct bin_attribute fmc_eeprom_attr = {
......
......@@ -309,7 +309,7 @@ int ff_init(void)
return PTR_ERR(ff);
/* If the user passed "eeprom=" as a parameter, fetch them */
for (i = 0;i < ff_nr_eeprom; i++) {
for (i = 0; i < ff_nr_eeprom; i++) {
if (!strlen(ff_eeprom[i]))
continue;
ret = request_firmware(&fw, ff_eeprom[i], &ff->dev);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment