From: Lee Jones <lee.jones@linaro.org>
To: Pankaj Dubey <pankaj.dubey@samsung.com>
Cc: linux-kernel@vger.kernel.org, sameo@linux.intel.com
Subject: Re: [PATCH] mfd: syscon: allow property as NULL in syscon_regmap_lookup_by_phandle
Date: Wed, 30 Apr 2014 15:07:18 +0100 [thread overview]
Message-ID: <20140430140718.GQ29462@lee--X1> (raw)
In-Reply-To: <1398824066-3036-1-git-send-email-pankaj.dubey@samsung.com>
> If we pass syscon device node itself as first parameter to this function
> there is no need to parse and find syscon device node. So by allowing
> "property" parameter as NULL allow syscon_regmap_lookup_by_phandle to
> consider passed argument "np" itself as a syscon device node "syscon_np".
> This will help us in avoiding addition of "syscon" property in a device node
> which points back to same device node in device tree.
>
> Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
> ---
> drivers/mfd/syscon.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Seems reasonable. Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
prev parent reply other threads:[~2014-04-30 14:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-30 2:14 Pankaj Dubey
2014-04-30 14:07 ` Lee Jones [this message]
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=20140430140718.GQ29462@lee--X1 \
--to=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pankaj.dubey@samsung.com \
--cc=sameo@linux.intel.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
all inboxes | Powered by JetHome®