Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1646898
| From | Rob Herring <robh+dt@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 2/3] of/platform: Make of_platform_device_destroy globally visible |
| Date | 2017-05-22 15:40 +0200 |
| Message-ID | <tJVIZ-6iD-9@gated-at.bofh.it> (permalink) |
| References | <tJTnP-4Xw-13@gated-at.bofh.it> <tJTnP-4Xw-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 2/3] of/platform: Make of_platform_device_destroy globally visible Jan Glauber <jglauber@cavium.com> - 2017-05-22 13:10 +0200 Re: [PATCH v2 2/3] of/platform: Make of_platform_device_destroy globally visible Rob Herring <robh+dt@kernel.org> - 2017-05-22 15:40 +0200
csiph-web