Skip to content

Commit

Permalink
mfd: sec-core: Fix 'missing blank line after declarations' warning
Browse files Browse the repository at this point in the history
This is part of an effort to clean-up the MFD subsystem.

WARNING: Missing a blank line after declarations
+               const struct of_device_id *match;
+               match = of_match_node(sec_dt_match, i2c->dev.of_node);

total: 0 errors, 1 warnings, 494 lines checked

Signed-off-by: Lee Jones <[email protected]>
  • Loading branch information
Lee Jones committed Jul 22, 2014
1 parent 016f421 commit b6c1cb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/sec-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ static inline unsigned long sec_i2c_get_driver_data(struct i2c_client *i2c,
#ifdef CONFIG_OF
if (i2c->dev.of_node) {
const struct of_device_id *match;

match = of_match_node(sec_dt_match, i2c->dev.of_node);
return (unsigned long)match->data;
}
Expand Down

0 comments on commit b6c1cb4

Please sign in to comment.