All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Adrian Cox <adrian@humboldt.co.uk>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: [PATCH] I2C driver for MPC107/824x/85xx/52xx
Date: Fri, 30 Jul 2004 09:55:50 -0700	[thread overview]
Message-ID: <20040730165550.GO16468@smtp.west.cox.net> (raw)
In-Reply-To: <1091201612.987.25.camel@localhost>


On Fri, Jul 30, 2004 at 04:33:32PM +0100, Adrian Cox wrote:

> This is the latest version of my driver for the I2C controller in the
> MPC107 and related chips.
>
> Since last posting the driver has been tested on MPC5200, where it works
> only when interrupts are disabled. I have positive results for MPC107
> and MPC8540. There's also a bug fix in error detection on I2C reads,
> updated timer handling, and clock initialisation is now done only once.
>
> I plan to send this version to Greg KH unless I hear objections in the
> next few days.

I'll throw in a nit:

> diff -Nru a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c
[snip]
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of
> + * the License, or (at your option) any later version.
...

This can be condensed down to:
 * <YEAR> (c) <COMPANY>. This file is licensed under
 * the terms of the GNU General Public License version 2. This program
 * is licensed "as is" without any warranty of any kind, whether express
 * or implied.

Or so our lawyers claim.

[snip]
> +#include <linux/kernel.h>
[snip]
> +#ifdef CONFIG_I2C_DEBUG_BUS
> +#define DPRINTK(args...) printk(KERN_DEBUG __FILE__": " args)
> +#else
> +#define DPRINTK(args...)
> +#endif

<linux/kernel> provides pr_debug (and a few others) that just depend on
DEBUG, fwiw.

And maybe Lindent the sources? :)

But as I said, merely nits.

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2004-07-30 16:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-30 15:33 [PATCH] I2C driver for MPC107/824x/85xx/52xx Adrian Cox
2004-07-30 16:55 ` Tom Rini [this message]
2004-07-31 15:49   ` Adrian Cox

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=20040730165550.GO16468@smtp.west.cox.net \
    --to=trini@kernel.crashing.org \
    --cc=adrian@humboldt.co.uk \
    --cc=linuxppc-embedded@lists.linuxppc.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 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.