]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: refactor my_device_create()
authorBenjamin Romer <benjamin.romer@unisys.com>
Mon, 16 Mar 2015 17:58:23 +0000 (13:58 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Mar 2015 20:53:52 +0000 (21:53 +0100)
commit9434da94801831ee367dd636a64e6a4b1f510700
tree7a95311775d9746533ccb8e853a5b066a25d9e71
parent74fa664a5c4438c9007a1e261a62132ddecab72e
staging: unisys: refactor my_device_create()

Fix local CamelCase variable names:

busNo => bus_no
devNo => dev_no
pDevinfo => dev_info
pBusInfo => bus_info
Away => cleanup

Update references to use the corrected names, and change the kzalloc()
to use the variable itself rather than the type.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/visorchipset_main.c