Skip to content

Commit d429928

Browse files
petegriffinkrzk
authored andcommitted
watchdog: s3c2410_wdt: Update QUIRK macros to use BIT macro
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>
1 parent 6584cd3 commit d429928

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/watchdog/s3c2410_wdt.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@
107107
* DBGACK_MASK bit disables the watchdog outputs when the SoC is in debug mode.
108108
* Debug mode is determined by the DBGACK CPU signal.
109109
*/
110-
#define QUIRK_HAS_WTCLRINT_REG (1 << 0)
111-
#define QUIRK_HAS_PMU_MASK_RESET (1 << 1)
112-
#define QUIRK_HAS_PMU_RST_STAT (1 << 2)
113-
#define QUIRK_HAS_PMU_AUTO_DISABLE (1 << 3)
114-
#define QUIRK_HAS_PMU_CNT_EN (1 << 4)
110+
#define QUIRK_HAS_WTCLRINT_REG BIT(0)
111+
#define QUIRK_HAS_PMU_MASK_RESET BIT(1)
112+
#define QUIRK_HAS_PMU_RST_STAT BIT(2)
113+
#define QUIRK_HAS_PMU_AUTO_DISABLE BIT(3)
114+
#define QUIRK_HAS_PMU_CNT_EN BIT(4)
115115
#define QUIRK_HAS_DBGACK_BIT BIT(5)
116116

117117
/* These quirks require that we have a PMU register map */

0 commit comments

Comments
 (0)