lkml.org 
[lkml]   [2014]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] reset: Add optional resets and stubs
Date
On Friday, March 07, 2014 at 03:30:23 PM, Philipp Zabel wrote:
> This patch adds device_reset_optional and (devm_)reset_control_get_optional
> variants that drivers can use to indicate they can function without control
> over the reset line. For those functions, stubs are added so the drivers
> can be compiled with CONFIG_RESET_CONTROLLER disabled.
> Also, device_reset is annotated with __must_check. Drivers ignoring the
> return value should use device_reset_optional instead.
>
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

Nice.

Reviewed-by: Marek Vasut <marex@denx.de>

Best regards,
Marek Vasut


\
 
 \ /
  Last update: 2014-03-08 15:41    [W:3.195 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site