All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Pankaj Dubey <pankaj.dubey@samsung.com>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
	lee.jones@linaro.org, tomasz.figa@gmail.com,
	linux@arm.linux.org.uk, vikas.sajjan@samsung.com,
	joshi@samsung.com, naushad@samsung.com, thomas.ab@samsung.com,
	chow.kim@samsung.com, kgene.kim@samsung.com
Subject: Re: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices
Date: Wed, 17 Sep 2014 17:23:04 +0200	[thread overview]
Message-ID: <201409171723.04549.arnd@arndb.de> (raw)
In-Reply-To: <1410935510-1567-1-git-send-email-pankaj.dubey@samsung.com>

On Wednesday 17 September 2014, Pankaj Dubey wrote:
> ---
> V2 of this patchset and related discussion can be found here [1].
> 
> Changes since v2:
>  - Added back platform device support from syscon, with one change that
>    syscon will not be probed for DT based platform.
>  - Added back syscon_regmap_lookup_by_pdevname API so that non-DT base
>    users of syscon will not be broken.
>  - Removed unwanted change in syscon.h.
>  - Modified Signed-off-by list, added Suggested-by of Tomasz Figa and
>    Arnd Bergmann.
>  - Added Tested-by of Vivek Gautam for testing on Exynos platform.

Looks fine. Provided you can figure out the problem that Dong Aisheng
reported, please add my

Acked-by: Arnd Bergmann <arnd@arndb.de>

> -}
> +static struct syscon *of_syscon_register(struct device_node *np);
>

One  minor comment: please avoid doing forward declarations of
local functions. It took me a while to understand what is going on
because I expect all functions to be ordered such that they only get
called by functions below, and don't need this.

Just move of_syscon_register() here directly.

	Arnd

WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices
Date: Wed, 17 Sep 2014 17:23:04 +0200	[thread overview]
Message-ID: <201409171723.04549.arnd@arndb.de> (raw)
In-Reply-To: <1410935510-1567-1-git-send-email-pankaj.dubey@samsung.com>

On Wednesday 17 September 2014, Pankaj Dubey wrote:
> ---
> V2 of this patchset and related discussion can be found here [1].
> 
> Changes since v2:
>  - Added back platform device support from syscon, with one change that
>    syscon will not be probed for DT based platform.
>  - Added back syscon_regmap_lookup_by_pdevname API so that non-DT base
>    users of syscon will not be broken.
>  - Removed unwanted change in syscon.h.
>  - Modified Signed-off-by list, added Suggested-by of Tomasz Figa and
>    Arnd Bergmann.
>  - Added Tested-by of Vivek Gautam for testing on Exynos platform.

Looks fine. Provided you can figure out the problem that Dong Aisheng
reported, please add my

Acked-by: Arnd Bergmann <arnd@arndb.de>

> -}
> +static struct syscon *of_syscon_register(struct device_node *np);
>

One  minor comment: please avoid doing forward declarations of
local functions. It took me a while to understand what is going on
because I expect all functions to be ordered such that they only get
called by functions below, and don't need this.

Just move of_syscon_register() here directly.

	Arnd

  parent reply	other threads:[~2014-09-17 15:23 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-17  6:31 [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices Pankaj Dubey
2014-09-17  6:31 ` Pankaj Dubey
2014-09-17  8:58 ` Dong Aisheng
2014-09-17  8:58   ` Dong Aisheng
2014-09-17  8:58   ` Dong Aisheng
2014-09-17 11:20   ` Pankaj Dubey
2014-09-17 11:20     ` Pankaj Dubey
2014-09-18  3:05     ` Dong Aisheng
2014-09-18  3:05       ` Dong Aisheng
2014-09-18  3:05       ` Dong Aisheng
2014-09-18  6:03       ` Pankaj Dubey
2014-09-18  6:03         ` Pankaj Dubey
2014-09-18  6:33         ` Li.Xiubo
2014-09-18  6:33           ` Li.Xiubo at freescale.com
2014-09-18  7:55         ` Dong Aisheng
2014-09-18  7:55           ` Dong Aisheng
2014-09-18  7:55           ` Dong Aisheng
2014-09-18  8:58           ` Li.Xiubo
2014-09-18  8:58             ` Li.Xiubo at freescale.com
2014-09-18  9:40             ` Pankaj Dubey
2014-09-18  9:40               ` Pankaj Dubey
2014-09-18  9:36           ` Pankaj Dubey
2014-09-18  9:36             ` Pankaj Dubey
2014-09-18 10:05             ` Dong Aisheng
2014-09-18 10:05               ` Dong Aisheng
2014-09-18 10:05               ` Dong Aisheng
2014-09-19  3:38               ` Li.Xiubo
2014-09-19  3:38                 ` Li.Xiubo at freescale.com
2014-09-19  4:19                 ` Dong Aisheng
2014-09-19  4:19                   ` Dong Aisheng
2014-09-19  4:19                   ` Dong Aisheng
2014-09-19  5:20                   ` Li.Xiubo
2014-09-19  5:20                     ` Li.Xiubo
2014-09-19  5:20                     ` Li.Xiubo at freescale.com
2014-09-19  5:46                     ` Dong Aisheng
2014-09-19  5:46                       ` Dong Aisheng
2014-09-19  5:46                       ` Dong Aisheng
2014-09-19  9:20                       ` Pankaj Dubey
2014-09-19  9:20                         ` Pankaj Dubey
2014-09-18  7:58         ` Li.Xiubo
2014-09-18  7:58           ` Li.Xiubo at freescale.com
2014-09-17 15:23 ` Arnd Bergmann [this message]
2014-09-17 15:23   ` Arnd Bergmann
2014-09-18  3:29   ` Pankaj Dubey
2014-09-18  3:29     ` Pankaj Dubey
2014-09-18  3:07     ` Dong Aisheng
2014-09-18  3:07       ` Dong Aisheng
2014-09-18  3:07       ` Dong Aisheng

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=201409171723.04549.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=chow.kim@samsung.com \
    --cc=joshi@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=naushad@samsung.com \
    --cc=pankaj.dubey@samsung.com \
    --cc=thomas.ab@samsung.com \
    --cc=tomasz.figa@gmail.com \
    --cc=vikas.sajjan@samsung.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.