]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: change struct device_driver::coredump() return type to void
authorArend van Spriel <aspriel@gmail.com>
Sun, 8 Apr 2018 21:57:07 +0000 (23:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Apr 2018 07:48:32 +0000 (09:48 +0200)
commit15985faa71cbd860781cfb8f9ee969a09950bd1a
treea75c9fe5f002d598a13e759ead3972ec91ebe0eb
parentfedbd783dfdfa040524ea8eb8a31cb2a775a133b
drivers: change struct device_driver::coredump() return type to void

Upon submitting a patch for mwifiex [1] it was discussed whether this
callback function could fail. To keep things simple there is no need
for the error code so the driver can do the task synchronous or not
without worries. Currently the device driver core already ignores the
return value so changing it to void.

[1] https://patchwork.kernel.org/patch/10231933/

Signed-off-by: Arend van Spriel <aspriel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device.h