[PATCH 1/2] driver core: platform: Fix the line-break indentation

From: Cai Huoqing
Date: Thu Sep 02 2021 - 01:25:02 EST


Fix the line-break indentation for the helper function
devm_platform_get_and_ioremap_resource()

Signed-off-by: Cai Huoqing <caihuoqing@xxxxxxxxx>
---
drivers/base/platform.c | 2 +-
include/linux/platform_device.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index 652531f67135..52a1b94428c8 100644
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@ -95,7 +95,7 @@ EXPORT_SYMBOL_GPL(platform_get_mem_or_io);
*/
void __iomem *
devm_platform_get_and_ioremap_resource(struct platform_device *pdev,
- unsigned int index, struct resource **res)
+ unsigned int index, struct resource **res)
{
struct resource *r;

diff --git a/include/linux/platform_device.h b/include/linux/platform_device.h
index 7c96f169d274..07e1bba45243 100644
--- a/include/linux/platform_device.h
+++ b/include/linux/platform_device.h
@@ -61,7 +61,7 @@ platform_find_device_by_driver(struct device *start,
const struct device_driver *drv);
extern void __iomem *
devm_platform_get_and_ioremap_resource(struct platform_device *pdev,
- unsigned int index, struct resource **res);
+ unsigned int index, struct resource **res);
extern void __iomem *
devm_platform_ioremap_resource(struct platform_device *pdev,
unsigned int index);
--
2.25.1