lkml.org 
[lkml]   [2017]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v6 0/2] at24: support eeproms that do not auto-rollover reads.
Date
v6:
added newlines, asked by Bartosz
no need for braces around ternary operator's condition:
bits = (at24->chip.flags & AT24_FLAG_ADDR16) ? 16 : 8;
but keep the braces anyway, as asked by Uwe Klein-Koenig

v5:
at Rob Herring's request, renamed devicetree property:
at24,no-read-rollover -> no-read-rollover

v4:
renamed devicetree property:
no-read-rollover -> at24,no-read-rollover
dt-bindings update now a separate patch

v3:
rebased against at24 maintainer's devel staging branch:
git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git at24/devel
clarified some of the comments and wording

v2:
kbuild test robot feedback: correct
"warning: comparison of distinct pointer types lacks a cast"
build warning on some compilers / architectures.

v1:
original patch

Sven Van Asbroeck (2):
at24: support eeproms that do not auto-rollover reads.
dt-bindings: add eeprom "at24,no-read-rollover" property

.../devicetree/bindings/eeprom/eeprom.txt | 5 +++
drivers/misc/eeprom/at24.c | 37 +++++++++++++++-------
include/linux/platform_data/at24.h | 2 ++
3 files changed, 32 insertions(+), 12 deletions(-)

--
1.9.1

\
 
 \ /
  Last update: 2017-12-07 20:27    [W:0.050 / U:7.420 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site