From: William Breathitt Gray Date: Wed, 9 Jun 2021 01:31:06 +0000 (+0900) Subject: counter: 104-quad-8: Remove pointless comment X-Git-Tag: v5.14-rc1~66^2~85^2~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb8eaa271f00897cbc109ad1f2bca266f91bdab7;p=thirdparty%2Flinux.git counter: 104-quad-8: Remove pointless comment It is obvious that devm_counter_register() is used to register a Counter device, so a comment stating such is pointless here. Acked-by: Syed Nayyar Waris Signed-off-by: William Breathitt Gray Link: https://lore.kernel.org/r/77e9f3daa091d0ad0ee56b8973705dd03db85dd4.1623201081.git.vilhelm.gray@gmail.com Signed-off-by: Jonathan Cameron --- diff --git a/drivers/counter/104-quad-8.c b/drivers/counter/104-quad-8.c index 9691f8612be87..4bb9abffae483 100644 --- a/drivers/counter/104-quad-8.c +++ b/drivers/counter/104-quad-8.c @@ -1082,7 +1082,6 @@ static int quad8_probe(struct device *dev, unsigned int id) /* Enable all counters */ outb(QUAD8_CHAN_OP_ENABLE_COUNTERS, base[id] + QUAD8_REG_CHAN_OP); - /* Register Counter device */ return devm_counter_register(dev, &priv->counter); }