mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Walleij <linus.ml.walleij@gmail.com>
To: Samuel Ortiz <sameo@linux.intel.com>
Cc: Linus Walleij <linus.walleij@stericsson.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] MFD AB3100 OTP readout v2
Date: Wed, 19 Aug 2009 09:00:57 +0200	[thread overview]
Message-ID: <63386a3d0908190000m483c50edo761261e199492839@mail.gmail.com> (raw)
In-Reply-To: <20090818232918.GB3378@sortiz.org>

2009/8/19 Samuel Ortiz <sameo@linux.intel.com>:

> I still dont get why you want that to be a device by its own.

Mainly two things:

- The AB3100 HW is partitioned into different logical blocks, one deals with
  battery charging, one with LEDs etc, and one partition is OTP. Doing
  a platform device for each gives a 1-1 match between spec and HW.

> Having a no-op for ab3100_otp_probe() when AB3100_OTP is not defined would be
> a lighter solution, wouldn't it ?

Yep at the cost of an extra .h file for the interface.

No problem though, I'll cook up a v3 the way you want it, it's no
big issue...

Linus Walleij

      reply	other threads:[~2009-08-19  7:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-18 20:52 Linus Walleij
2009-08-18 23:29 ` Samuel Ortiz
2009-08-19  7:00   ` Linus Walleij [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=63386a3d0908190000m483c50edo761261e199492839@mail.gmail.com \
    --to=linus.ml.walleij@gmail.com \
    --cc=linus.walleij@stericsson.com \
    --cc=linux-kernel@vger.kernel.org \
    --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®