From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Adrian Bunk <bunk@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org,
linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: [2.6 patch] drivers/macintosh/: possible cleanups
Date: Mon, 23 Jun 2008 20:14:51 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.64.0806232014160.20175@anakin> (raw)
In-Reply-To: <20080623174657.GC4756@cs181140183.pp.htv.fi>
On Mon, 23 Jun 2008, Adrian Bunk wrote:
> On Tue, Jun 10, 2008 at 10:21:25AM +1000, Stephen Rothwell wrote:
> > On Tue, 10 Jun 2008 01:23:12 +0300 Adrian Bunk <bunk@kernel.org> wrote:
> > >
> > > +++ b/drivers/macintosh/adbhid.c
> > > @@ -75,7 +75,7 @@ static struct notifier_block adbhid_adb_notifier = {
> > > #define ADB_KEY_POWER_OLD 0x7e
> > > #define ADB_KEY_POWER 0x7f
> > >
> > > -u16 adb_to_linux_keycodes[128] = {
> > > +static u16 adb_to_linux_keycodes[128] = {
> >
> > This could be const as well.
>
> Updated patch below.
>
> cu
> Adrian
>
> <-- snip -->
>
> This patch contains the following possible cleanups:
> - make the following needlessly global code static:
> - adb.c: adb_controller
> - adb.c: adb_init()
> - adbhid.c: adb_to_linux_keycodes[] (also make it const)
> - via-pmu68k.c: backlight_level
> - via-pmu68k.c: backlight_enabled
> - remove the following unused code:
> - via-pmu68k.c: sleep_notifier_list
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
I assume Paulus will take it, as he controls more Macs?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next prev parent reply other threads:[~2008-06-23 18:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-09 22:23 [2.6 patch] drivers/macintosh/: possible cleanups Adrian Bunk
2008-06-10 0:21 ` Stephen Rothwell
2008-06-23 17:46 ` Adrian Bunk
2008-06-23 18:14 ` Geert Uytterhoeven [this message]
2008-06-24 0:38 ` Stephen Rothwell
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=Pine.LNX.4.64.0806232014160.20175@anakin \
--to=geert@linux-m68k.org \
--cc=bunk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
--cc=sfr@canb.auug.org.au \
/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).