<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/rtc/rtc-ds1307.c, branch v3.11</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>rtc: rtc-ds1307: use devm_*() functions</title>
<updated>2013-07-03T23:07:54+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-07-03T22:07:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=edca66d2ceae6ba426b9250ffcad5bca820b146f'/>
<id>edca66d2ceae6ba426b9250ffcad5bca820b146f</id>
<content type='text'>
Use devm_*() functions to make cleanup paths simpler.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use devm_*() functions to make cleanup paths simpler.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/rtc/rtc-ds1307.c: change sysfs function pointer assignment</title>
<updated>2013-04-30T01:28:34+00:00</updated>
<author>
<name>Steffen Trumtrar</name>
<email>s.trumtrar@pengutronix.de</email>
</author>
<published>2013-04-29T23:20:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b9c3570737578040a506e33ef7a136daed03eedd'/>
<id>b9c3570737578040a506e33ef7a136daed03eedd</id>
<content type='text'>
The current usage of commas instead of semicolons is not wrong, but
affects the readability of the code.

Also, the code would break, if someone puts something between those two
assignments.

Signed-off-by: Steffen Trumtrar &lt;s.trumtrar@pengutronix.de&gt;
Cc: Austin Boyle &lt;Austin.Boyle@aviatnet.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current usage of commas instead of semicolons is not wrong, but
affects the readability of the code.

Also, the code would break, if someone puts something between those two
assignments.

Signed-off-by: Steffen Trumtrar &lt;s.trumtrar@pengutronix.de&gt;
Cc: Austin Boyle &lt;Austin.Boyle@aviatnet.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: rtc-ds1307: use dev_dbg() instead of pr_debug()</title>
<updated>2013-04-30T01:28:28+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-04-29T23:19:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6df80e211b49ecc23b2c1bd0d93c4a3346e21bf7'/>
<id>6df80e211b49ecc23b2c1bd0d93c4a3346e21bf7</id>
<content type='text'>
dev_dbg() is preferred to pr_debug().

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dev_dbg() is preferred to pr_debug().

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/rtc/rtc-ds1307.c: long block operations bugfix</title>
<updated>2013-04-30T01:28:28+00:00</updated>
<author>
<name>Bertrand Achard</name>
<email>ba@cykian.net</email>
</author>
<published>2013-04-29T23:19:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bc48b9023b0ee7ec4ad0d6b3332804d3b3e77fa8'/>
<id>bc48b9023b0ee7ec4ad0d6b3332804d3b3e77fa8</id>
<content type='text'>
The rtc-ds1307 driver does not properly handle block operations bigger
than 32 bytes in either of the two modes supported (SMbus native, or
emulated if not supported by the SMbus platform driver).

It also does not properly handle userland-supplied input (block
operation length) through sysfs and may suffer a type of buffer overrun.

The driver has been modified with proper input validation, buffer sizes,
and now splits block transfers bigger than 32 bytes into separate
transfers.

Explanation : Buffer size allocated is I2C_SMBUS_BLOCK_MAX which equals
to 32 as per the SMbus spec.  Reads and write may be up to 56 bytes (to
the NVRAM).  This patch allocated a 255 byte buffer, the maximum
allowable (address is an u8).  It's not only a buffer problem, SMbus
only supports up to 32 bytes transfer at once, so it's needed to split
bigger transfers.

Patch successfully tested on 3.2.27; cleanly applies on 3.7-rc4.

[akpm@linux-foundation.org: rework code to avoid 80-column overflows]
Signed-off-by: Bertrand Achard &lt;ba@cykian.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The rtc-ds1307 driver does not properly handle block operations bigger
than 32 bytes in either of the two modes supported (SMbus native, or
emulated if not supported by the SMbus platform driver).

It also does not properly handle userland-supplied input (block
operation length) through sysfs and may suffer a type of buffer overrun.

The driver has been modified with proper input validation, buffer sizes,
and now splits block transfers bigger than 32 bytes into separate
transfers.

Explanation : Buffer size allocated is I2C_SMBUS_BLOCK_MAX which equals
to 32 as per the SMbus spec.  Reads and write may be up to 56 bytes (to
the NVRAM).  This patch allocated a 255 byte buffer, the maximum
allowable (address is an u8).  It's not only a buffer problem, SMbus
only supports up to 32 bytes transfer at once, so it's needed to split
bigger transfers.

Patch successfully tested on 3.2.27; cleanly applies on 3.7-rc4.

[akpm@linux-foundation.org: rework code to avoid 80-column overflows]
Signed-off-by: Bertrand Achard &lt;ba@cykian.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/rtc: dump small buffers via %*ph</title>
<updated>2013-02-22T01:22:27+00:00</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2013-02-22T00:44:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=01a4ca16c897882635c937bf8f967584883669a2'/>
<id>01a4ca16c897882635c937bf8f967584883669a2</id>
<content type='text'>
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Drivers: rtc: remove __dev* attributes.</title>
<updated>2013-01-03T23:57:02+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2012-12-21T21:09:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5a167f4543e45d45c5672a5cd6cb8ba5ddf4f3ea'/>
<id>5a167f4543e45d45c5672a5cd6cb8ba5ddf4f3ea</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Srinidhi Kasagar &lt;srinidhi.kasagar@stericsson.com&gt;
Cc: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Cc: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.com&gt;
Cc: Guan Xuetao &lt;gxt@mprc.pku.edu.cn&gt;
Cc: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Srinidhi Kasagar &lt;srinidhi.kasagar@stericsson.com&gt;
Cc: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Cc: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.com&gt;
Cc: Guan Xuetao &lt;gxt@mprc.pku.edu.cn&gt;
Cc: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: ds1307: add trickle charger support</title>
<updated>2012-05-29T23:22:33+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>w.sang@pengutronix.de</email>
</author>
<published>2012-05-29T22:07:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=eb86c3064b3c53837fdfea17df1483d825919894'/>
<id>eb86c3064b3c53837fdfea17df1483d825919894</id>
<content type='text'>
Some DS13XX devices have "trickle chargers".  Its configuration register
is at different locations, the setup is the same, though.  Since the
configuration is board specific, introduce a platform_data to this driver.
Tested with a DS1339 on a custom board.

Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Cc: Alessandro Zummo &lt;alessandro.zummo@towertech.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some DS13XX devices have "trickle chargers".  Its configuration register
is at different locations, the setup is the same, though.  Since the
configuration is board specific, introduce a platform_data to this driver.
Tested with a DS1339 on a custom board.

Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Cc: Alessandro Zummo &lt;alessandro.zummo@towertech.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: ds1307: remove superfluous initialization</title>
<updated>2012-05-29T23:22:33+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>w.sang@pengutronix.de</email>
</author>
<published>2012-05-29T22:07:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f8ae97019ff79559416dc2ae9c14af92c2054cba'/>
<id>f8ae97019ff79559416dc2ae9c14af92c2054cba</id>
<content type='text'>
ds1307 was kzalloced, so no need to zero members of the struct.

Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Acked-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ds1307 was kzalloced, so no need to zero members of the struct.

Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Acked-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/rtc/rtc-ds1307.c: fix BUG shown with lock debugging enabled</title>
<updated>2012-04-26T04:26:34+00:00</updated>
<author>
<name>Anatolij Gustschin</name>
<email>agust@denx.de</email>
</author>
<published>2012-04-25T23:01:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3f5ec5e06d6ca88168277247dbac0ec7b501600f'/>
<id>3f5ec5e06d6ca88168277247dbac0ec7b501600f</id>
<content type='text'>
Add struct bin_attribute initialization to fix the following bug:

rtc-ds1307 3-0068: rtc core: registered ds1307 as rtc0
BUG: key cfb14fcc not in .data!
------------[ cut here ]------------
WARNING: at kernel/lockdep.c:2986 sysfs_add_file_mode+0x84/0xdc()
Modules linked in:
[&lt;c0018d94&gt;] (unwind_backtrace+0x0/0xf8) from [&lt;c0031f7c&gt;] (warn_slowpath_common+0x4c/0x64)
[&lt;c0031f7c&gt;] (warn_slowpath_common+0x4c/0x64) from [&lt;c0031fb0&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;c0031fb0&gt;] (warn_slowpath_null+0x1c/0x24) from [&lt;c012f7ac&gt;] (sysfs_add_file_mode+0x84/0xdc)
[&lt;c012f7ac&gt;] (sysfs_add_file_mode+0x84/0xdc) from [&lt;c04b11e4&gt;] (ds1307_probe+0x5e4/0x6ac)
[&lt;c04b11e4&gt;] (ds1307_probe+0x5e4/0x6ac) from [&lt;c036e600&gt;] (i2c_device_probe+0xdc/0x108)
[&lt;c036e600&gt;] (i2c_device_probe+0xdc/0x108) from [&lt;c02cdf84&gt;] (driver_probe_device+0x90/0x210)
[&lt;c02cdf84&gt;] (driver_probe_device+0x90/0x210) from [&lt;c02ce198&gt;] (__driver_attach+0x94/0x98)
[&lt;c02ce198&gt;] (__driver_attach+0x94/0x98) from [&lt;c02cc824&gt;] (bus_for_each_dev+0x50/0x7c)
[&lt;c02cc824&gt;] (bus_for_each_dev+0x50/0x7c) from [&lt;c02cd780&gt;] (bus_add_driver+0x184/0x244)
[&lt;c02cd780&gt;] (bus_add_driver+0x184/0x244) from [&lt;c02ce43c&gt;] (driver_register+0x78/0x12c)
[&lt;c02ce43c&gt;] (driver_register+0x78/0x12c) from [&lt;c03701ac&gt;] (i2c_register_driver+0x2c/0xb4)
[&lt;c03701ac&gt;] (i2c_register_driver+0x2c/0xb4) from [&lt;c0008798&gt;] (do_one_initcall+0x34/0x178)
[&lt;c0008798&gt;] (do_one_initcall+0x34/0x178) from [&lt;c0691860&gt;] (kernel_init+0xdc/0x194)
[&lt;c0691860&gt;] (kernel_init+0xdc/0x194) from [&lt;c0013cf0&gt;] (kernel_thread_exit+0x0/0x8)

Since commit 6992f5334995af4 ("sysfs: Use one lockdep class per sysfs
attribute") this initialization is required.

Reported-by: Stefano Babic &lt;sbabic@denx.de&gt;
Tested-by: Stefano Babic &lt;sbabic@denx.de&gt;
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Cc: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Acked-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add struct bin_attribute initialization to fix the following bug:

rtc-ds1307 3-0068: rtc core: registered ds1307 as rtc0
BUG: key cfb14fcc not in .data!
------------[ cut here ]------------
WARNING: at kernel/lockdep.c:2986 sysfs_add_file_mode+0x84/0xdc()
Modules linked in:
[&lt;c0018d94&gt;] (unwind_backtrace+0x0/0xf8) from [&lt;c0031f7c&gt;] (warn_slowpath_common+0x4c/0x64)
[&lt;c0031f7c&gt;] (warn_slowpath_common+0x4c/0x64) from [&lt;c0031fb0&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;c0031fb0&gt;] (warn_slowpath_null+0x1c/0x24) from [&lt;c012f7ac&gt;] (sysfs_add_file_mode+0x84/0xdc)
[&lt;c012f7ac&gt;] (sysfs_add_file_mode+0x84/0xdc) from [&lt;c04b11e4&gt;] (ds1307_probe+0x5e4/0x6ac)
[&lt;c04b11e4&gt;] (ds1307_probe+0x5e4/0x6ac) from [&lt;c036e600&gt;] (i2c_device_probe+0xdc/0x108)
[&lt;c036e600&gt;] (i2c_device_probe+0xdc/0x108) from [&lt;c02cdf84&gt;] (driver_probe_device+0x90/0x210)
[&lt;c02cdf84&gt;] (driver_probe_device+0x90/0x210) from [&lt;c02ce198&gt;] (__driver_attach+0x94/0x98)
[&lt;c02ce198&gt;] (__driver_attach+0x94/0x98) from [&lt;c02cc824&gt;] (bus_for_each_dev+0x50/0x7c)
[&lt;c02cc824&gt;] (bus_for_each_dev+0x50/0x7c) from [&lt;c02cd780&gt;] (bus_add_driver+0x184/0x244)
[&lt;c02cd780&gt;] (bus_add_driver+0x184/0x244) from [&lt;c02ce43c&gt;] (driver_register+0x78/0x12c)
[&lt;c02ce43c&gt;] (driver_register+0x78/0x12c) from [&lt;c03701ac&gt;] (i2c_register_driver+0x2c/0xb4)
[&lt;c03701ac&gt;] (i2c_register_driver+0x2c/0xb4) from [&lt;c0008798&gt;] (do_one_initcall+0x34/0x178)
[&lt;c0008798&gt;] (do_one_initcall+0x34/0x178) from [&lt;c0691860&gt;] (kernel_init+0xdc/0x194)
[&lt;c0691860&gt;] (kernel_init+0xdc/0x194) from [&lt;c0013cf0&gt;] (kernel_thread_exit+0x0/0x8)

Since commit 6992f5334995af4 ("sysfs: Use one lockdep class per sysfs
attribute") this initialization is required.

Reported-by: Stefano Babic &lt;sbabic@denx.de&gt;
Tested-by: Stefano Babic &lt;sbabic@denx.de&gt;
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Cc: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Acked-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: ds1307: generalise ram size and offset</title>
<updated>2012-03-23T23:58:40+00:00</updated>
<author>
<name>Austin Boyle</name>
<email>Austin.Boyle@aviatnet.com</email>
</author>
<published>2012-03-23T22:02:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9eab0a788d2d6e513f43b7c0e5bb9d60446233cb'/>
<id>9eab0a788d2d6e513f43b7c0e5bb9d60446233cb</id>
<content type='text'>
Generalise NVRAM to support RAM with other size and offset, such as the
64 bytes of SRAM on the mcp7941x.

[rdunlap@xenotime.net: fix printk format warning]
Signed-off-by: Austin Boyle &lt;Austin.Boyle@aviatnet.com&gt;
Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Signed-off-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Cc: David Anders &lt;danders.dev@gmail.com&gt;
Cc: Alessandro Zummo &lt;alessandro.zummo@towertech.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Generalise NVRAM to support RAM with other size and offset, such as the
64 bytes of SRAM on the mcp7941x.

[rdunlap@xenotime.net: fix printk format warning]
Signed-off-by: Austin Boyle &lt;Austin.Boyle@aviatnet.com&gt;
Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Signed-off-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Cc: David Anders &lt;danders.dev@gmail.com&gt;
Cc: Alessandro Zummo &lt;alessandro.zummo@towertech.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
