From: Paul Gortmaker Date: Thu, 15 Sep 2011 21:56:39 +0000 (-0400) Subject: bluetooth: macroize two small inlines to avoid module.h X-Git-Tag: v3.2-rc1~22^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d58996da6a8045c8df2899ce5689a19c721322f;p=pandora-kernel.git bluetooth: macroize two small inlines to avoid module.h These two small inlines make calls to try_module_get() and module_put() which would force us to keep module.h present within yet another common include header. We can avoid this by turning them into macros. The hci_dev_hold construct is patterned off of raw_spin_trylock_irqsave() in spinlock.h Signed-off-by: Paul Gortmaker --- Reading git-diff-tree failed