watchdog: s3c2410_wdt: Update QUIRK macros to use BIT macro
authorPeter Griffin <peter.griffin@linaro.org>
Mon, 11 Dec 2023 16:23:26 +0000 (16:23 +0000)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 13 Dec 2023 19:12:38 +0000 (20:12 +0100)
Update the remaining QUIRK macros to use the BIT macro.

Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20231211162331.435900-12-peter.griffin@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/watchdog/s3c2410_wdt.c

index 7ecb762..b7a0366 100644 (file)
  * DBGACK_MASK bit disables the watchdog outputs when the SoC is in debug mode.
  * Debug mode is determined by the DBGACK CPU signal.
  */
-#define QUIRK_HAS_WTCLRINT_REG                 (1 << 0)
-#define QUIRK_HAS_PMU_MASK_RESET               (1 << 1)
-#define QUIRK_HAS_PMU_RST_STAT                 (1 << 2)
-#define QUIRK_HAS_PMU_AUTO_DISABLE             (1 << 3)
-#define QUIRK_HAS_PMU_CNT_EN                   (1 << 4)
+#define QUIRK_HAS_WTCLRINT_REG                 BIT(0)
+#define QUIRK_HAS_PMU_MASK_RESET               BIT(1)
+#define QUIRK_HAS_PMU_RST_STAT                 BIT(2)
+#define QUIRK_HAS_PMU_AUTO_DISABLE             BIT(3)
+#define QUIRK_HAS_PMU_CNT_EN                   BIT(4)
 #define QUIRK_HAS_DBGACK_BIT                   BIT(5)
 
 /* These quirks require that we have a PMU register map */