diff options
author | Sangwook Shin <sw617.shin@samsung.com> | 2025-08-18 11:18:22 +0900 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2025-09-12 18:06:31 +0200 |
commit | e76bb4ee92dc6b4f21eb13d79b5c190b2e5a97e5 (patch) | |
tree | 8369185c3e9a547c1232d464791f04c458101e86 /drivers/infiniband/hw/ionic/ionic_datapath.c | |
parent | 73ea1e92be46671d9a139578fdf5f6b93b7e85e4 (diff) |
watchdog: s3c2410_wdt: Replace hardcoded values with macro definitions
Modify the code to utilize macro-defined values instead of hardcoded
values. The value 0x100 in the s3c2410wdt_set_heartbeat function represents
S3C2410_WTCON_PRESCALE_MAX + 1, but it is hardcoded, making its meaning
difficult to understand and reducing code readability.
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Sangwook Shin <sw617.shin@samsung.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions