summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-12-21 00:36:44 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-03 13:09:38 +0100
commit4002bf384cc567a843a7d16c95db54a7d77b16c6 (patch)
treef4652320c6ca43960d71ec520ac055a335a0dbe0 /drivers/i2c
parentACPI: Replace struct acpi_bus_ops with enum type (diff)
downloadlinux-4002bf384cc567a843a7d16c95db54a7d77b16c6.tar.xz
linux-4002bf384cc567a843a7d16c95db54a7d77b16c6.zip
ACPI: Change the ordering of acpi_bus_check_add()
If acpi_bus_check_add() is called for a handle already having an existing struct acpi_device object attached, it is not necessary to check the type and status of the device correspondig to it, so change the ordering of acpi_bus_check_add() to avoid that. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Yinghai Lu <yinghai@kernel.org> Acked-by: Toshi Kani <toshi.kani@hp.com>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions