Fix ERROR: Macros with complex values should be enclosed in parentheses,
reported by checkpatch.
Add a do {...} while (0) loop around the macro.
Signed-off-by: Lukas Schneider
Signed-off-by: Jannik Moritz
Cc:
---
drivers/staging/media/bcm2048/radio-bcm2048.c | 6 --
1 file changed, 4
Cleanup the line over 80 character warnings, reported by checkpatch
Signed-off-by: Lukas Schneider
Signed-off-by: Jannik Moritz
Cc:
---
drivers/staging/fbtft/fbtft-sysfs.c | 3 ++-
drivers/staging/fbtft/fbtft.h | 26 ++
2 files changed, 24 insertions(+), 5
Am 21.06.2019 um 13:04 schrieb Pavel Machek:
On Wed 2019-06-19 17:46:48, Lukas Schneider wrote:
This patch fixes the issue reported by checkpatch:
CHECK: usleep_range is preferred over udelay;
see Doucmentation/timers/timers-howto.txt
It's save to sleep here instead of using busy wa
This patch fixes the issue reported by checkpatch:
CHECK: usleep_range is preferred over udelay;
see Documentation/timers/timers-howto.txt
It's save to sleep here instead of using busy waiting,
because we are not in an atomic context.
Signed-off-by: Lukas Schneider
Signed-off-by: Jannik M
This patch fixes the issue reported by checkpatch:
CHECK: usleep_range is preferred over udelay;
see Doucmentation/timers/timers-howto.txt
It's save to sleep here instead of using busy waiting,
because we are not in an atomic context.
Signed-off-by: Lukas Schneider
Signed-off-by: Jannik M
This patch fixes the issue reported by checkpatch:
CHECK: usleep_range is preferred over udelay;
see Documentation/timers/timers-howto.txt
It's save to sleep here instead of using busy waiting,
because we are not in an atomic context.
Signed-off-by: Lukas Schneider
Signed-off-by: Jannik M
This patch fixes the issue reported by checkpatch:
CHECK: usleep_range is preferred over udelay;
see Documentation/timers/timers-howto.txt
It's save to sleep here instead of using busy waiting,
because we are not in an atomic context.
Signed-off-by: Lukas Schneider
Signed-off-by: Jannik M