OSDN Git Service

counter: 104-quad-8: Remove pointless comment
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Wed, 9 Jun 2021 01:31:06 +0000 (10:31 +0900)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 9 Jun 2021 15:01:59 +0000 (16:01 +0100)
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 <syednwaris@gmail.com>
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Link: https://lore.kernel.org/r/77e9f3daa091d0ad0ee56b8973705dd03db85dd4.1623201081.git.vilhelm.gray@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/counter/104-quad-8.c

index 9691f86..4bb9abf 100644 (file)
@@ -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);
 }