[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqK=Ss43c-3886pFc3HcbNtOT_15GvmoYOLEZ-M7PW3C8A@mail.gmail.com>
Date: Mon, 22 May 2017 08:30:58 -0500
From: Rob Herring <robh+dt@...nel.org>
To: Jan Glauber <jglauber@...ium.com>
Cc: Ulf Hansson <ulf.hansson@...aro.org>,
David Daney <david.daney@...ium.com>,
Frank Rowand <frowand.list@...il.com>,
"Steven J . Hill" <Steven.Hill@...ium.com>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [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@...ium.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@...ium.com>
> ---
> drivers/of/platform.c | 3 ++-
> include/linux/of_platform.h | 1 +
> 2 files changed, 3 insertions(+), 1 deletion(-)
Acked-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists