aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-19 09:44:13 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-23 13:20:26 +0100
commit8ae5767ba1c4e149ee9970aa7a4e9bf6b251bb77 (patch)
treeeeb5fae803f580dd5dad722fb5c71dbff29e2d8b /net/bridge/br_private.h
parent6c9eeb0f5cac0d9fd05c138f1eec86a7f70630ce (diff)
downloadkernel_goldelico_gta04-8ae5767ba1c4e149ee9970aa7a4e9bf6b251bb77.zip
kernel_goldelico_gta04-8ae5767ba1c4e149ee9970aa7a4e9bf6b251bb77.tar.gz
kernel_goldelico_gta04-8ae5767ba1c4e149ee9970aa7a4e9bf6b251bb77.tar.bz2
regulator: max8997: Convert ot use devm_kzalloc
Also simplify the error handling to start unwind from the place regulator_register fails. No need to check rdev[i] is NULL or not before calling regulator_unregister. regulator_unregister is safe if rdev is NULL, Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'net/bridge/br_private.h')
0 files changed, 0 insertions, 0 deletions