| From f87fd16bb0d675fadda290df5969a7d1f394b0a1 Mon Sep 17 00:00:00 2001 |
| From: Michal Simek <michal.simek@xilinx.com> |
| Date: Fri, 31 May 2013 07:56:33 +0200 |
| Subject: watchdog: xilinx: Fix driver header |
| |
| - Remove reference for IP version |
| - Fix header coding style |
| - Remove notes which are visible from the code |
| - Fix driver license according to header |
| |
| Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
| Reviewed-by: Guenter Roeck <linux@roeck-us.net> |
| Signed-off-by: Wim Van Sebroeck <wim@iguana.be> |
| (cherry picked from commit 9419c07ccebf6080159b4440dab9b3e484c96d7a) |
| Signed-off-by: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp> |
| Signed-off-by: Yoshitake Kobayashi <yoshitake.kobayashi@toshiba.co.jp> |
| --- |
| drivers/watchdog/of_xilinx_wdt.c | 30 ++++++++++-------------------- |
| 1 file changed, 10 insertions(+), 20 deletions(-) |
| |
| diff --git a/drivers/watchdog/of_xilinx_wdt.c b/drivers/watchdog/of_xilinx_wdt.c |
| index 2761ddb08501..d4a35ab89e01 100644 |
| --- a/drivers/watchdog/of_xilinx_wdt.c |
| +++ b/drivers/watchdog/of_xilinx_wdt.c |
| @@ -1,23 +1,13 @@ |
| /* |
| -* of_xilinx_wdt.c 1.01 A Watchdog Device Driver for Xilinx xps_timebase_wdt |
| -* |
| -* (C) Copyright 2011 (Alejandro Cabrera <aldaya@gmail.com>) |
| -* |
| -* ----------------------- |
| -* |
| -* This program is free software; you can redistribute it and/or |
| -* modify it under the terms of the GNU General Public License |
| -* as published by the Free Software Foundation; either version |
| -* 2 of the License, or (at your option) any later version. |
| -* |
| -* ----------------------- |
| -* 30-May-2011 Alejandro Cabrera <aldaya@gmail.com> |
| -* - If "xlnx,wdt-enable-once" wasn't found on device tree the |
| -* module will use CONFIG_WATCHDOG_NOWAYOUT |
| -* - If the device tree parameters ("clock-frequency" and |
| -* "xlnx,wdt-interval") wasn't found the driver won't |
| -* know the wdt reset interval |
| -*/ |
| + * Watchdog Device Driver for Xilinx axi/xps_timebase_wdt |
| + * |
| + * (C) Copyright 2011 (Alejandro Cabrera <aldaya@gmail.com>) |
| + * |
| + * This program is free software; you can redistribute it and/or |
| + * modify it under the terms of the GNU General Public License |
| + * as published by the Free Software Foundation; either version |
| + * 2 of the License, or (at your option) any later version. |
| + */ |
| |
| #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| |
| @@ -413,5 +403,5 @@ module_platform_driver(xwdt_driver); |
| |
| MODULE_AUTHOR("Alejandro Cabrera <aldaya@gmail.com>"); |
| MODULE_DESCRIPTION("Xilinx Watchdog driver"); |
| -MODULE_LICENSE("GPL"); |
| +MODULE_LICENSE("GPL v2"); |
| MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR); |
| -- |
| 1.8.5.rc3 |
| |