# Re: \[PATCH\] video: fbdev: Use devm\_clk\_get

- From: Tomi Valkeinen \<hidden\>
- Date: 2015-09-01 10:56:39 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2015/09/4567563
- Thread: https://ratatoskr.run/linux-fbdev/2015/08/4559662/t.md

```text


On 18/08/15 06:28, Vaishali Thakkar wrote:
> This patch introduces the use of managed resource function
> devm_clk_get instead of clk_get and removes corresponding calls
> to clk_put in the probe and remove functions.
> 
> To be compatible with the change various gotos are replaced with
> direct returns, and unneeded label failed_put_clk is dropped.
> 
> Signed-off-by: Vaishali Thakkar <redacted>
> ---
>  drivers/video/fbdev/pxa168fb.c | 14 ++++----------
>  1 file changed, 4 insertions(+), 10 deletions(-)

Thanks, queued for 4.3.

 Tomi

```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2015/09/4567563/attachment/0) (application/pgp-signature, 819 bytes)
