Skip to content

Commit

Permalink
serial: max310x: remove trailing whitespaces
Browse files Browse the repository at this point in the history
Fix coding style. No functional changes.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20231011130317.3562401-1-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Hugo Villeneuve authored and Greg Kroah-Hartman committed Oct 16, 2023
1 parent 2b97f5b commit cee8e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/max310x.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ static int max14830_detect(struct device *dev)
ret = s->if_cfg->extended_reg_enable(dev, true);
if (ret)
return ret;

regmap_read(s->regmap, s->if_cfg->rev_id_reg, &val);
s->if_cfg->extended_reg_enable(dev, false);
if (((val & MAX310x_REV_MASK) != MAX14830_REV_ID)) {
Expand Down

0 comments on commit cee8e0c

Please sign in to comment.