From: Marcel Holtmann Date: Tue, 1 Jul 2014 12:11:20 +0000 (+0200) Subject: Bluetooth: Provide flags parameter direct to mgmt_device_found X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af58925ca6175695e502fa792f43a946f7474765;p=pandora-kernel.git Bluetooth: Provide flags parameter direct to mgmt_device_found Providing the flags parameter directly to mgmt_device_found function makes the core simpler and more readable. With this it becomes a lot easier to add new flags in the future. This also changes hci_inquiry_cache_update to just return that flags needed for mgmt_device_found since that is its only use for the two return parameters anyway. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed