Merge tag 'v5.4-rc4' into docs-next
I need to pick up the independent changes made to Documentation/core-api/memory-allocation.rst to be able to merge further work without creating a total mess.
This commit is contained in:
@@ -420,12 +420,6 @@ failed_sensitivity:
|
||||
|
||||
static int cmpc_accel_remove_v4(struct acpi_device *acpi)
|
||||
{
|
||||
struct input_dev *inputdev;
|
||||
struct cmpc_accel *accel;
|
||||
|
||||
inputdev = dev_get_drvdata(&acpi->dev);
|
||||
accel = dev_get_drvdata(&inputdev->dev);
|
||||
|
||||
device_remove_file(&acpi->dev, &cmpc_accel_sensitivity_attr_v4);
|
||||
device_remove_file(&acpi->dev, &cmpc_accel_g_select_attr_v4);
|
||||
return cmpc_remove_acpi_notify_device(acpi);
|
||||
@@ -656,12 +650,6 @@ failed_file:
|
||||
|
||||
static int cmpc_accel_remove(struct acpi_device *acpi)
|
||||
{
|
||||
struct input_dev *inputdev;
|
||||
struct cmpc_accel *accel;
|
||||
|
||||
inputdev = dev_get_drvdata(&acpi->dev);
|
||||
accel = dev_get_drvdata(&inputdev->dev);
|
||||
|
||||
device_remove_file(&acpi->dev, &cmpc_accel_sensitivity_attr);
|
||||
return cmpc_remove_acpi_notify_device(acpi);
|
||||
}
|
||||
|
@@ -108,6 +108,7 @@ static int i2c_multi_inst_probe(struct platform_device *pdev)
|
||||
if (ret < 0) {
|
||||
dev_dbg(dev, "Error requesting irq at index %d: %d\n",
|
||||
inst_data[i].irq_idx, ret);
|
||||
goto error;
|
||||
}
|
||||
board_info.irq = ret;
|
||||
break;
|
||||
|
@@ -293,9 +293,8 @@ static int intel_punit_ipc_probe(struct platform_device *pdev)
|
||||
|
||||
platform_set_drvdata(pdev, punit_ipcdev);
|
||||
|
||||
irq = platform_get_irq(pdev, 0);
|
||||
irq = platform_get_irq_optional(pdev, 0);
|
||||
if (irq < 0) {
|
||||
punit_ipcdev->irq = 0;
|
||||
dev_warn(&pdev->dev, "Invalid IRQ, using polling mode\n");
|
||||
} else {
|
||||
ret = devm_request_irq(&pdev->dev, irq, intel_punit_ioc,
|
||||
|
Reference in New Issue
Block a user