Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1554653
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 4/4] watchdog: coh901327_wdt: Use dev variable instead of pdev->dev |
| Date | 2017-01-09 20:50 +0100 |
| Message-ID | <sXO78-8iZ-17@gated-at.bofh.it> (permalink) |
| References | <sVKqZ-7ps-5@gated-at.bofh.it> <sVKqZ-7ps-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jan 4, 2017 at 4:25 AM, Guenter Roeck <linux@roeck-us.net> wrote: > Use a local dev variable instead of dereferencing pdev->dev several > times in the probe function to make the code easier to read. > > Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 4/4] watchdog: coh901327_wdt: Use dev variable instead of pdev->dev Guenter Roeck <linux@roeck-us.net> - 2017-01-04 04:30 +0100 Re: [PATCH 4/4] watchdog: coh901327_wdt: Use dev variable instead of pdev->dev Linus Walleij <linus.walleij@linaro.org> - 2017-01-09 20:50 +0100
csiph-web