ACPI / acpi_pad: Used PTR_RET
authorAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Tue, 12 Mar 2013 08:32:51 +0000 (08:32 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Mar 2013 23:13:15 +0000 (00:13 +0100)
commita1458187ae66825871c93b6b56ca2cd1d88e9cb9
tree897c526699e6155139ef210c81cc7a468e921dd5
parent2f9b06fc95486e396dd533670dcb25de5e2612ea
ACPI / acpi_pad: Used PTR_RET

Use PTR_RET instead of explicit checking with IS_ERR.

Signed-off-by: Alexandru Gheorghiu <gheorghiuandru@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_pad.c