diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2019-03-25 10:49:34 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2019-05-09 17:29:15 +0200 |
commit | b05232d624425f8584b511f0e102c3b963b00323 (patch) | |
tree | 7228f78a402e751edaebb4d154e80937e7a2b92e /Documentation | |
parent | e926b12c611c2095c7976e2ed31753ad6eb5ff1a (diff) |
pwm: samsung: Don't uses devm_*() functions in ->request()
A call to ->request() is always paired by a call to ->free() before a
given device is disposed. So the simplification that usually is possible
when using devm_*() functions cannot be used here. So use plain
kzalloc() and kfree() for improved runtime behaviour and reduced memory
footprint.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
[thierry.reding@gmail.com: fix build failure]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions