Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1562617
| From | Thierry Reding <thierry.reding@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 57/62] watchdog: tegra_wdt: Convert to use device managed functions |
| Date | 2017-01-19 12:10 +0100 |
| Message-ID | <t1iLo-MP-25@gated-at.bofh.it> (permalink) |
| References | <sYebf-7JK-3@gated-at.bofh.it> <sYgwq-Pc-5@gated-at.bofh.it> <sYgG5-Sm-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Tue, Jan 10, 2017 at 06:09:11PM -0800, Guenter Roeck wrote: > Use device managed functions to simplify error handling, reduce > source code size, improve readability, and reduce the likelyhood of bugs. > > The conversion was done automatically with coccinelle using the > following semantic patches. The semantic patches and the scripts used > to generate this commit log are available at > https://github.com/groeck/coccinelle-patches > > - Use devm_watchdog_register_driver() to register watchdog device > > Cc: Stephen Warren <swarren@wwwdotorg.org> > Cc: Thierry Reding <thierry.reding@gmail.com> > Cc: Alexandre Courbot <gnurou@gmail.com> > Signed-off-by: Guenter Roeck <linux@roeck-us.net> > --- > drivers/watchdog/tegra_wdt.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Acked-by: Thierry Reding <treding@nvidia.com>
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 57/62] watchdog: tegra_wdt: Convert to use device managed functions Thierry Reding <thierry.reding@gmail.com> - 2017-01-19 12:10 +0100
csiph-web