Skip to content
Commit 2614a859 authored by Maxime Ripard's avatar Maxime Ripard Committed by Jean Delvare
Browse files

i2c-mux-gpio: Use devm_kzalloc instead of kzalloc



Use the devm_kzalloc managed function to stripdown the error and remove
code.

Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 3ad7ea18
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment