Loading drivers/thermal/qcom/qmi_cooling.c +2 −2 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. */ #define pr_fmt(fmt) "%s:%s " fmt, KBUILD_MODNAME, __func__ Loading Loading @@ -291,7 +291,7 @@ static int qmi_set_min_state(struct thermal_cooling_device *cdev, return 0; if (state > qmi_cdev->max_level) return -EINVAL; state = qmi_cdev->max_level; /* Convert state into QMI client expects for min state */ state = qmi_cdev->max_level - state; Loading drivers/thermal/qcom/regulator_aop_cdev.c +2 −2 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. */ #include <linux/module.h> Loading Loading @@ -92,7 +92,7 @@ static int reg_send_min_state(struct thermal_cooling_device *cdev, int ret = 0; if (state > REG_CDEV_MAX_STATE) return -EINVAL; state = REG_CDEV_MAX_STATE; if (reg_dev->min_state == state) return ret; Loading drivers/thermal/qcom/regulator_cdev.c +2 −2 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. */ #include <linux/module.h> Loading Loading @@ -47,7 +47,7 @@ static int reg_set_min_state(struct thermal_cooling_device *cdev, int ret = 0; if (state > reg_dev->lvl_ct) return -EINVAL; state = reg_dev->lvl_ct; if (reg_dev->min_reg_state == state) return ret; Loading Loading
drivers/thermal/qcom/qmi_cooling.c +2 −2 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. */ #define pr_fmt(fmt) "%s:%s " fmt, KBUILD_MODNAME, __func__ Loading Loading @@ -291,7 +291,7 @@ static int qmi_set_min_state(struct thermal_cooling_device *cdev, return 0; if (state > qmi_cdev->max_level) return -EINVAL; state = qmi_cdev->max_level; /* Convert state into QMI client expects for min state */ state = qmi_cdev->max_level - state; Loading
drivers/thermal/qcom/regulator_aop_cdev.c +2 −2 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. */ #include <linux/module.h> Loading Loading @@ -92,7 +92,7 @@ static int reg_send_min_state(struct thermal_cooling_device *cdev, int ret = 0; if (state > REG_CDEV_MAX_STATE) return -EINVAL; state = REG_CDEV_MAX_STATE; if (reg_dev->min_state == state) return ret; Loading
drivers/thermal/qcom/regulator_cdev.c +2 −2 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. */ #include <linux/module.h> Loading Loading @@ -47,7 +47,7 @@ static int reg_set_min_state(struct thermal_cooling_device *cdev, int ret = 0; if (state > reg_dev->lvl_ct) return -EINVAL; state = reg_dev->lvl_ct; if (reg_dev->min_reg_state == state) return ret; Loading