summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-03-07 16:35:49 +0200
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-03-25 12:06:37 +0100
commitef2b810e1152d77686032e7dc064ff89b4350b00 (patch)
treea392047e3bfe33192a2a8f9ca4e4d58fc149e26d /scripts/lib/kdoc/kdoc_parser.py
parent9e085c045868a6a727b3bd0fc7840ccc9e04d3a3 (diff)
w1: gpio: Use sizeof(*pointer) instead of sizeof(type)
It is preferred to use sizeof(*pointer) instead of sizeof(type). The type of the variable can change and one needs not change the former (unlike the latter). No functional change intended. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20240307143644.3787260-4-andriy.shevchenko@linux.intel.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions