ACPI / AC: Remove struct acpi_device pointer from struct acpi_ac
authorLan Tianyu <tianyu.lan@intel.com>
Wed, 13 Nov 2013 03:27:42 +0000 (11:27 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 14 Nov 2013 22:23:14 +0000 (23:23 +0100)
commit86b0cc12bba9cb9cc3c20974dec565f44c961fc3
treec15eceef4afd84dea49c8f40ae9b45349ce350a8
parente13ac47bec20797fa9262cffcae9cf0e3aa1b9b2
ACPI / AC: Remove struct acpi_device pointer from struct acpi_ac

Now the pointer of struct acpi_device can be got by
ACPI_COMPANION(struct acpi_ac->pdev->dev). So the pointer
is not necessary and remove it.

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ac.c