Commit cee8e0cc authored by Hugo Villeneuve's avatar Hugo Villeneuve Committed by Greg Kroah-Hartman

serial: max310x: remove trailing whitespaces

Fix coding style. No functional changes.
Signed-off-by: default avatarHugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20231011130317.3562401-1-hugo@hugovil.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2b97f5b5
...@@ -402,7 +402,7 @@ static int max14830_detect(struct device *dev) ...@@ -402,7 +402,7 @@ static int max14830_detect(struct device *dev)
ret = s->if_cfg->extended_reg_enable(dev, true); ret = s->if_cfg->extended_reg_enable(dev, true);
if (ret) if (ret)
return ret; return ret;
regmap_read(s->regmap, s->if_cfg->rev_id_reg, &val); regmap_read(s->regmap, s->if_cfg->rev_id_reg, &val);
s->if_cfg->extended_reg_enable(dev, false); s->if_cfg->extended_reg_enable(dev, false);
if (((val & MAX310x_REV_MASK) != MAX14830_REV_ID)) { if (((val & MAX310x_REV_MASK) != MAX14830_REV_ID)) {
......
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