diff mbox series

watchdog: renesas_wdt: drop superfluous glob pattern

Message ID 20190414100306.1221-1-wsa+renesas@sang-engineering.com (mailing list archive)
State Accepted
Delegated to: Geert Uytterhoeven
Headers show
Series watchdog: renesas_wdt: drop superfluous glob pattern | expand

Commit Message

Wolfram Sang April 14, 2019, 10:03 a.m. UTC
If we want to match all revisions, it is enough to leave the field
empty.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---

Only build tested, no HW. Found by code review.

 drivers/watchdog/renesas_wdt.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Guenter Roeck April 14, 2019, 2:15 p.m. UTC | #1
On Sun, Apr 14, 2019 at 12:03:06PM +0200, Wolfram Sang wrote:
> If we want to match all revisions, it is enough to leave the field
> empty.
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
> 
> Only build tested, no HW. Found by code review.
> 
>  drivers/watchdog/renesas_wdt.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/watchdog/renesas_wdt.c b/drivers/watchdog/renesas_wdt.c
> index 94cd8830ba9a..565dbc1ec638 100644
> --- a/drivers/watchdog/renesas_wdt.c
> +++ b/drivers/watchdog/renesas_wdt.c
> @@ -151,7 +151,6 @@ static const struct soc_device_attribute rwdt_quirks_match[] = {
>  		.data = (void *)1,	/* needs single CPU */
>  	}, {
>  		.soc_id = "r8a7792",
> -		.revision = "*",
>  		.data = (void *)0,	/* needs SMP disabled */
>  	},
>  	{ /* sentinel */ }
> -- 
> 2.11.0
>
diff mbox series

Patch

diff --git a/drivers/watchdog/renesas_wdt.c b/drivers/watchdog/renesas_wdt.c
index 94cd8830ba9a..565dbc1ec638 100644
--- a/drivers/watchdog/renesas_wdt.c
+++ b/drivers/watchdog/renesas_wdt.c
@@ -151,7 +151,6 @@  static const struct soc_device_attribute rwdt_quirks_match[] = {
 		.data = (void *)1,	/* needs single CPU */
 	}, {
 		.soc_id = "r8a7792",
-		.revision = "*",
 		.data = (void *)0,	/* needs SMP disabled */
 	},
 	{ /* sentinel */ }