2015-11-13 07:45:22

by Uwe Kleine-König

[permalink] [raw]
Subject: [PATCH] driver-core: platform: fix typo in documentation for multi-driver helper

The function name in the documentation lacked an 's'. Add it.

Fixes: dbe2256ddd8e ("driver-core: platform: Provide helpers for multi-driver modules")
Signed-off-by: Uwe Kleine-König <[email protected]>
---
Documentation/driver-model/platform.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/driver-model/platform.txt b/Documentation/driver-model/platform.txt
index e456696cfef2..9d9e47dfc013 100644
--- a/Documentation/driver-model/platform.txt
+++ b/Documentation/driver-model/platform.txt
@@ -75,7 +75,7 @@ If one of the drivers fails to register, all drivers registered up to that
point will be unregistered in reverse order. Note that there is a convenience
macro that passes THIS_MODULE as owner parameter:

- #define platform_register_driver(drivers, count)
+ #define platform_register_drivers(drivers, count)


Device Enumeration
--
2.6.1


2015-11-13 17:26:15

by Thierry Reding

[permalink] [raw]
Subject: Re: [PATCH] driver-core: platform: fix typo in documentation for multi-driver helper

On Fri, Nov 13, 2015 at 08:45:14AM +0100, Uwe Kleine-König wrote:
> The function name in the documentation lacked an 's'. Add it.
>
> Fixes: dbe2256ddd8e ("driver-core: platform: Provide helpers for multi-driver modules")
> Signed-off-by: Uwe Kleine-König <[email protected]>
> ---
> Documentation/driver-model/platform.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

I have the same patch in my tree and wanted to send it out as part of
the 20-something patches I have that make use of the new function. In
any case, if Greg wants to pick this up separately:

Acked-by: Thierry Reding <[email protected]>


Attachments:
(No filename) (637.00 B)
signature.asc (819.00 B)
Download all attachments