[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200809191739.06779.david-b@pacbell.net>
Date: Fri, 19 Sep 2008 17:39:06 -0700
From: David Brownell <david-b@...bell.net>
To: Felipe Balbi <felipe.balbi@...ia.com>
Cc: linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org,
Tony Lindgren <tony@...mide.com>,
Russell King - ARM Linux <linux@....linux.org.uk>,
Wim Van Sebroeck <wim@...ana.be>,
Andrew Morton <akpm@...ux-foundation.org>,
"George G. Davis" <gdavis@...sta.com>
Subject: Re: [PATCH 1/5] watchdog: sync linux-omap changes
On Friday 19 September 2008, Felipe Balbi wrote:
> +static struct platform_device *omap_wdt_dev;
> +
> ...
> +struct omap_wdt_dev {
> + void __iomem *base; /* physical */
> + struct device *dev;
You don't need both omap_wdt_dev (platform device)
and omap_wdt_dev.dev (hmm, never used). In fact
the former isn't needed either ... its role seems
to be ensure only one watchdog device gets bound,
which is more naturally done by not registering
more than one such platform device.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists