diff options
author | Sachin Kamat <[email protected]> | 2012-09-17 11:50:47 +0530 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2012-10-05 20:56:39 +0200 |
commit | 60ce70285b4d3b933eea15e494a9b35fe85b19b7 (patch) | |
tree | f8b5282ac6901b632fc7041c1b52f36bbe59a64f /lib/mpi/mpi-inline.h | |
parent | 6173f8f4ed9c2bd4184908e35f46755a0d14b0f2 (diff) |
pwm-backlight: Use devm_pwm_get() instead of pwm_get()
Managed versions of the pwm_get() and pwm_put() functions were recently
added to the PWM framework. They can be used to simplify cleanup in the
error paths and the device removal callback.
Cc: Thierry Reding <[email protected]>
Signed-off-by: Sachin Kamat <[email protected]>
Acked-by: Jingoo Han <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions