lkml.org 
[lkml]   [2017]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 2/3] of/platform: Make of_platform_device_destroy globally visible
On Mon, May 22, 2017 at 6:09 AM, Jan Glauber <jglauber@cavium.com> wrote:
> of_platform_device_destroy is the counterpart to
> of_platform_device_create which is a non-static function.
>
> After creating a platform device it might be neccessary
> to destroy it to deal with -EPROBE_DEFER where a
> repeated of_platform_device_create call would fail otherwise.
>
> Therefore also make of_platform_device_destroy globally visible.
>
> Signed-off-by: Jan Glauber <jglauber@cavium.com>
> ---
> drivers/of/platform.c | 3 ++-
> include/linux/of_platform.h | 1 +
> 2 files changed, 3 insertions(+), 1 deletion(-)

Acked-by: Rob Herring <robh@kernel.org>

\
 
 \ /
  Last update: 2017-05-22 15:32    [W:0.051 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site