summaryrefslogtreecommitdiff
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>2022-06-23 22:14:11 +0100
committerMark Brown <broonie@kernel.org>2022-06-29 18:13:08 +0100
commitcffc2be30288786e242bceb9fedde4dfe6ce442d (patch)
treeb39ebae9252faf2c19f6e44aa70270ca3055fb52 /include/linux/regmap.h
parent53a1a16dcc972163bd5816192d5d63ae433c9e56 (diff)
regmap-irq: Cleanup sizeof(...) use in memory allocation
Instead of mentioning unsigned int directly, use a sizeof(...) involving the buffer we're allocating to ensure the types don't get out of sync. Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com> Link: https://lore.kernel.org/r/20220623211420.918875-4-aidanmacdonald.0x0@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regmap.h')
0 files changed, 0 insertions, 0 deletions