diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2012-11-14 13:10:40 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-14 16:25:48 -0800 |
commit | 581a7ddec13d8f08b308c4764090bf57b0254f6f (patch) | |
tree | dc62d61aa515d7608013973f8aeb0d3d92c348f5 /Kbuild | |
parent | ddbd029903d29ec9a5aceb82d4b0c4a7468d1984 (diff) | |
download | linux-3.10-581a7ddec13d8f08b308c4764090bf57b0254f6f.tar.gz linux-3.10-581a7ddec13d8f08b308c4764090bf57b0254f6f.tar.bz2 linux-3.10-581a7ddec13d8f08b308c4764090bf57b0254f6f.zip |
staging: comedi: use inlines for PCI/USB auto config
Apart from the somewhat unnecessary `BUG_ON()` calls,
`comedi_pci_auto_config()` and `comedi_usb_auto_config()` are just
one-line wrappers around `comedi_auto_config()`, and
`comedi_pci_auto_unconfig()` and `comedi_usb_auto_unconfig()` are just
one-line wrappers around `comedi_auto_unconfig()`. Convert them to
inline functions and remove the `BUG_ON()` calls.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions