driver-core: platform: fix typo in documentation for multi-driver helper
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 13 Nov 2015 07:45:14 +0000 (08:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Feb 2016 01:39:33 +0000 (17:39 -0800)
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 <u.kleine-koenig@pengutronix.de>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/driver-model/platform.txt

index e456696cfef29bf49ba180ece3bab00b31699789..9d9e47dfc0138a331b504b49a885f2678de4e13a 100644 (file)
@@ -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