[U-Boot] [PATCH v2 04/51] syscon: Avoid returning a device on failure

Bin Meng bmeng.cn at gmail.com
Mon Mar 14 05:24:55 CET 2016


On Mon, Mar 14, 2016 at 12:10 PM, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Sat, Mar 12, 2016 at 1:06 PM, Simon Glass <sjg at chromium.org> wrote:
>> If the device cannot be probed, syscon_get_by_driver_data() will still
>> return a useful value in its devp parameter. Ensure that it returns NULL
>> instead.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>> Changes in v2: None
>>
>>  drivers/core/syscon-uclass.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list