mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
ACPI: Remove useless type argument of driver .remove() operation
The second argument of ACPI driver .remove() operation is only used by the ACPI processor driver and the value passed to that driver through it is always available from the given struct acpi_device object's removal_type field. For this reason, the second ACPI driver .remove() argument is in fact useless, so drop it. Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Jiang Liu <[email protected]> Acked-by: Toshi Kani <[email protected]> Acked-by: Yinghai Lu <[email protected]>
This commit is contained in:
parent
cc38e51913
commit
51fac8388a
44 changed files with 70 additions and 73 deletions
|
|
@ -406,7 +406,7 @@ err:
|
|||
return -EIO;
|
||||
}
|
||||
|
||||
static int acpi_smbus_cmi_remove(struct acpi_device *device, int type)
|
||||
static int acpi_smbus_cmi_remove(struct acpi_device *device)
|
||||
{
|
||||
struct acpi_smbus_cmi *smbus_cmi = acpi_driver_data(device);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue