diff options
Diffstat (limited to 'drivers/acpi/i2c_ec.c')
-rw-r--r-- | drivers/acpi/i2c_ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/i2c_ec.c b/drivers/acpi/i2c_ec.c index 6342e612c203..82e3e64483fb 100644 --- a/drivers/acpi/i2c_ec.c +++ b/drivers/acpi/i2c_ec.c | |||
@@ -393,7 +393,7 @@ static void __exit acpi_ec_hc_exit(void) | |||
393 | 393 | ||
394 | struct acpi_ec_hc *acpi_get_ec_hc(struct acpi_device *device) | 394 | struct acpi_ec_hc *acpi_get_ec_hc(struct acpi_device *device) |
395 | { | 395 | { |
396 | return ((struct acpi_ec_hc *)acpi_driver_data(device->parent)); | 396 | return acpi_driver_data(device->parent); |
397 | } | 397 | } |
398 | 398 | ||
399 | EXPORT_SYMBOL(acpi_get_ec_hc); | 399 | EXPORT_SYMBOL(acpi_get_ec_hc); |