From: Artem Bityutskiy <dedekind1@gmail.com>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Vladimir Barinov <vova.barinov@gmail.com>,
Artem Bityutskiy <Artem.Bityutskiy@nokia.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
linux-mtd@lists.infradead.org,
David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCH] mxc-nand: no need to check for validity of platform drive data
Date: Sun, 17 Jan 2010 10:25:54 +0200 [thread overview]
Message-ID: <1263716754.8276.132.camel@localhost.localdomain> (raw)
In-Reply-To: <1263218735-17244-1-git-send-email-u.kleine-koenig@pengutronix.de>
On Mon, 2010-01-11 at 15:05 +0100, Uwe Kleine-König wrote:
> The probe function calls platform_set_drvdata with a valid pointer when
> the probe is successful. As mxcnd_suspend and mxcnd_resume are only
> called on bound devices, platform_get_drvdata always returns non-NULL.
>
> This fix isn't critical as the pointer is always valid so it doesn't
> matter if the compiler generated code for it or not.
I've put these patches to my l2-mtd-2.6.git/master
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
next prev parent reply other threads:[~2010-01-17 8:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-11 14:05 [PATCH] mxc-nand: no need to check for validity of platform drive data Uwe Kleine-König
2010-01-11 16:53 ` [PATCH] mxc-nand: don't disable clock in mxcnd-suspend Uwe Kleine-König
2010-01-11 18:00 ` Sascha Hauer
2010-01-11 18:00 ` [PATCH] mxc-nand: no need to check for validity of platform drive data Sascha Hauer
2010-01-17 8:25 ` Artem Bityutskiy [this message]
2010-02-05 13:47 ` Uwe Kleine-König
2010-02-05 13:55 ` Artem Bityutskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1263716754.8276.132.camel@localhost.localdomain \
--to=dedekind1@gmail.com \
--cc=Artem.Bityutskiy@nokia.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
--cc=u.kleine-koenig@pengutronix.de \
--cc=vova.barinov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox