Skip to content

Commit be847a3

Browse files
jhovoldgregkh
authored andcommitted
serial: qcom-geni: rename suspend functions
Drop the unnecessary "_sys" infix from the suspend PM ops. Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20241009145110.16847-10-johan+linaro@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4cf4b34 commit be847a3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

drivers/tty/serial/qcom_geni_serial.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,7 @@ static void qcom_geni_serial_remove(struct platform_device *pdev)
17791779
uart_remove_one_port(drv, &port->uport);
17801780
}
17811781

1782-
static int qcom_geni_serial_sys_suspend(struct device *dev)
1782+
static int qcom_geni_serial_suspend(struct device *dev)
17831783
{
17841784
struct qcom_geni_serial_port *port = dev_get_drvdata(dev);
17851785
struct uart_port *uport = &port->uport;
@@ -1796,7 +1796,7 @@ static int qcom_geni_serial_sys_suspend(struct device *dev)
17961796
return uart_suspend_port(private_data->drv, uport);
17971797
}
17981798

1799-
static int qcom_geni_serial_sys_resume(struct device *dev)
1799+
static int qcom_geni_serial_resume(struct device *dev)
18001800
{
18011801
int ret;
18021802
struct qcom_geni_serial_port *port = dev_get_drvdata(dev);
@@ -1822,8 +1822,7 @@ static const struct qcom_geni_device_data qcom_geni_uart_data = {
18221822
};
18231823

18241824
static const struct dev_pm_ops qcom_geni_serial_pm_ops = {
1825-
SYSTEM_SLEEP_PM_OPS(qcom_geni_serial_sys_suspend,
1826-
qcom_geni_serial_sys_resume)
1825+
SYSTEM_SLEEP_PM_OPS(qcom_geni_serial_suspend, qcom_geni_serial_resume)
18271826
};
18281827

18291828
static const struct of_device_id qcom_geni_serial_match_table[] = {

0 commit comments

Comments
 (0)