Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1562617 > unrolled thread

Re: [PATCH 57/62] watchdog: tegra_wdt: Convert to use device managed functions

Started byThierry Reding <thierry.reding@gmail.com>
First post2017-01-19 12:10 +0100
Last post2017-01-19 12:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#1562617 — Re: [PATCH 57/62] watchdog: tegra_wdt: Convert to use device managed functions

FromThierry Reding <thierry.reding@gmail.com>
Date2017-01-19 12:10 +0100
SubjectRe: [PATCH 57/62] watchdog: tegra_wdt: Convert to use device managed functions
Message-ID<t1iLo-MP-25@gated-at.bofh.it>

[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>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web