Skip to content

Commit c37e358

Browse files
fabioestevamWim Van Sebroeck
authored andcommitted
watchdog: imx7ulp: Remove inline annotations
Compiler is smart enough and knows when to inline, so there is no need to mark some of these functions as 'inline'. Remove such annotations. Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 9ab26e3 commit c37e358

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/watchdog/imx7ulp_wdt.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ struct imx7ulp_wdt_device {
4646
struct clk *clk;
4747
};
4848

49-
static inline void imx7ulp_wdt_enable(struct watchdog_device *wdog, bool enable)
49+
static void imx7ulp_wdt_enable(struct watchdog_device *wdog, bool enable)
5050
{
5151
struct imx7ulp_wdt_device *wdt = watchdog_get_drvdata(wdog);
5252

@@ -59,7 +59,7 @@ static inline void imx7ulp_wdt_enable(struct watchdog_device *wdog, bool enable)
5959
writel(val & ~WDOG_CS_EN, wdt->base + WDOG_CS);
6060
}
6161

62-
static inline bool imx7ulp_wdt_is_enabled(void __iomem *base)
62+
static bool imx7ulp_wdt_is_enabled(void __iomem *base)
6363
{
6464
u32 val = readl(base + WDOG_CS);
6565

@@ -118,7 +118,7 @@ static const struct watchdog_info imx7ulp_wdt_info = {
118118
WDIOF_MAGICCLOSE,
119119
};
120120

121-
static inline void imx7ulp_wdt_init(void __iomem *base, unsigned int timeout)
121+
static void imx7ulp_wdt_init(void __iomem *base, unsigned int timeout)
122122
{
123123
u32 val;
124124

0 commit comments

Comments
 (0)