]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: tps6524x: Remove unnecessary memset
authorLiao Yuanhong <liaoyuanhong@vivo.com>
Thu, 7 Aug 2025 12:39:49 +0000 (20:39 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 11 Aug 2025 13:08:52 +0000 (14:08 +0100)
commitf6cc4140e161831e5796f099f5abc3af953ae2b8
treeab28d685c42546279b631d19c7ed8cd255815039
parentc6871d56b52ec177b8b8bd891fa0cbbd004b646d
regulator: tps6524x: Remove unnecessary memset

devm_kzalloc() has already been initialized to full 0 space, there is no
need to use memset() to initialize again.

Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Link: https://patch.msgid.link/20250807123949.495193-1-liaoyuanhong@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/tps6524x-regulator.c