From: Robert Jarzmik <robert.jarzmik@free.fr>
To: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Jonathan Cameron <jic23@jic23.retrosnub.co.uk>,
Daniel Mack <daniel@zonque.org>,
Haojian Zhuang <haojian.zhuang@gmail.com>,
Russell King <linux@armlinux.org.uk>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [RESEND PATCH] ARM: pxa: stargate2: use device properties for at24 eeprom
Date: Wed, 04 Apr 2018 21:44:53 +0200 [thread overview]
Message-ID: <878ta24uyy.fsf@belgarion.home> (raw)
In-Reply-To: <20180404114706.15856-1-brgl@bgdev.pl> (Bartosz Golaszewski's message of "Wed, 4 Apr 2018 13:47:06 +0200")
Bartosz Golaszewski <brgl@bgdev.pl> writes:
> We want to work towards phasing out the at24_platform_data structure.
> There are few users and its contents can be represented using generic
> device properties. Using device properties only will allow us to
> significantly simplify the at24 configuration code.
>
> Remove the at24_platform_data structure and replace it with an array
> of property entries. Drop the byte_len/size property, as the model name
> already implies the EEPROM's size.
Hi Bartosz,
I'd like a little explanation for the last sentence. Are you implying that
ac24.c is using the "type" field, and if so could you point me to the correct
line, because I was under the impression a property called "size" is used for
byte_len value ... ?
Cheers.
--
Robert
next prev parent reply other threads:[~2018-04-04 19:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-04 11:47 Bartosz Golaszewski
2018-04-04 12:08 ` Jonathan Cameron
2018-04-04 19:44 ` Robert Jarzmik [this message]
2018-04-05 8:32 ` Bartosz Golaszewski
2018-04-08 9:03 ` Robert Jarzmik
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=878ta24uyy.fsf@belgarion.home \
--to=robert.jarzmik@free.fr \
--cc=brgl@bgdev.pl \
--cc=daniel@zonque.org \
--cc=haojian.zhuang@gmail.com \
--cc=jic23@jic23.retrosnub.co.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
/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®