]> git.baikalelectronics.ru Git - kernel.git/commit
counter: 104-quad-8: Implement and utilize register structures
authorWilliam Breathitt Gray <william.gray@linaro.org>
Thu, 14 Jul 2022 16:07:14 +0000 (12:07 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Jul 2022 17:17:41 +0000 (19:17 +0200)
commit93e2d1ba0eaa0f055c693431875e631c1454d92e
treea419985893fdd90b5bf9aeca90e0a28be22b1c11
parent3251e64f31a07a72a91f9990548490155e8c415c
counter: 104-quad-8: Implement and utilize register structures

Reduce magic numbers and improve code readability by implementing and
utilizing named register data structures.

Link: https://lore.kernel.org/r/20220707171709.36010-1-william.gray@linaro.org/
Cc: Syed Nayyar Waris <syednwaris@gmail.com>
Tested-by: Fred Eckert <Frede@cmslaser.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Link: https://lore.kernel.org/r/285fdc7c03892251f50bdbf2c28c19998243a6a3.1657813472.git.william.gray@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/counter/104-quad-8.c