]> git.baikalelectronics.ru Git - kernel.git/commit
device: remove 'extern' attribute from function prototypes in device.h
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 29 Jun 2020 06:50:05 +0000 (08:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Jul 2020 12:36:02 +0000 (14:36 +0200)
commitaa4f935fe8b2ba8c6ea6f104488fe51a23534891
treecf8c3fec01c4dfc6a27ac5667e852b7397897e2a
parent03806c9e9314c5da3a6f9037cc636c5ce1af6b02
device: remove 'extern' attribute from function prototypes in device.h

Functions are declared 'extern' implicitly by the compiler. There's no
reason to prepend every prototype with it. Remove the 'extern' keyword
from all function declarations in linux/device.h.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Link: https://lore.kernel.org/r/20200629065008.27620-4-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device.h