diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2017-02-24 16:07:43 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-02-24 17:00:23 -0500 |
commit | e3a60ead2c9b813db832a35e50ebbc6b552a35e3 (patch) | |
tree | d94c244ceb18e6921f5eec4c57b825f3ef6e2159 /drivers/watchdog | |
parent | 53eac48d5c97e8a926e26ae4205ac890721ef260 (diff) |
watchdog: s3c2410: Add prefix to local function
Functions marked static inline might not be inlined so a driver-specific
prefix for function name helps when looking through call backtrace.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/s3c2410_wdt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c index 7e504ec1a3c3..6ed97596ca80 100644 --- a/drivers/watchdog/s3c2410_wdt.c +++ b/drivers/watchdog/s3c2410_wdt.c | |||
@@ -507,9 +507,8 @@ static inline unsigned int s3c2410wdt_get_bootstatus(struct s3c2410_wdt *wdt) | |||
507 | return 0; | 507 | return 0; |
508 | } | 508 | } |
509 | 509 | ||
510 | /* s3c2410_get_wdt_driver_data */ | ||
511 | static inline struct s3c2410_wdt_variant * | 510 | static inline struct s3c2410_wdt_variant * |
512 | get_wdt_drv_data(struct platform_device *pdev) | 511 | s3c2410_get_wdt_drv_data(struct platform_device *pdev) |
513 | { | 512 | { |
514 | if (pdev->dev.of_node) { | 513 | if (pdev->dev.of_node) { |
515 | const struct of_device_id *match; | 514 | const struct of_device_id *match; |
@@ -541,7 +540,7 @@ static int s3c2410wdt_probe(struct platform_device *pdev) | |||
541 | spin_lock_init(&wdt->lock); | 540 | spin_lock_init(&wdt->lock); |
542 | wdt->wdt_device = s3c2410_wdd; | 541 | wdt->wdt_device = s3c2410_wdd; |
543 | 542 | ||
544 | wdt->drv_data = get_wdt_drv_data(pdev); | 543 | wdt->drv_data = s3c2410_get_wdt_drv_data(pdev); |
545 | if (wdt->drv_data->quirks & QUIRKS_HAVE_PMUREG) { | 544 | if (wdt->drv_data->quirks & QUIRKS_HAVE_PMUREG) { |
546 | wdt->pmureg = syscon_regmap_lookup_by_phandle(dev->of_node, | 545 | wdt->pmureg = syscon_regmap_lookup_by_phandle(dev->of_node, |
547 | "samsung,syscon-phandle"); | 546 | "samsung,syscon-phandle"); |