From: moinejf@free.fr (Jean-Francois Moine)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] of: Fix some 'const' problems
Date: Sun, 9 Nov 2014 19:28:00 +0100 [thread overview]
Message-ID: <cover.1415557680.git.moinejf@free.fr> (raw)
A cast is often needed to call some OF functions, removing
the 'const' attribute.
This patchset makes 'const' the device node pointers of the functions
of_clk_get() and of_node_put() and also removes some useless casts
in the sound/soc tree.
Jean-Francois Moine (2):
of: Make const the device node pointers in of_clk_get and of_node_put
ASoC: Remove useless casts
drivers/clk/clkdev.c | 2 +-
drivers/of/dynamic.c | 2 +-
include/linux/clk.h | 4 ++--
include/linux/of.h | 4 ++--
sound/soc/generic/simple-card.c | 7 ++-----
sound/soc/samsung/odroidx2_max98090.c | 4 ++--
sound/soc/ux500/mop500.c | 6 ++----
7 files changed, 12 insertions(+), 17 deletions(-)
--
2.1.3
next reply other threads:[~2014-11-09 18:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-09 18:28 Jean-Francois Moine [this message]
2014-11-08 18:33 ` [PATCH 1/2] of: Make const the device node pointers in of_clk_get and of_node_put Jean-Francois Moine
2014-11-09 18:50 ` Russell King - ARM Linux
2014-11-09 19:28 ` Jean-Francois Moine
2014-11-09 11:38 ` [PATCH 2/2] ASoC: Remove useless casts Jean-Francois Moine
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=cover.1415557680.git.moinejf@free.fr \
--to=moinejf@free.fr \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).