<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mfd/max8998.c, branch linux-4.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-01-14T08:43:50Z</updated>
<entry>
<title>mfd: Use to_i2c_client() instead of open-coding it</title>
<updated>2016-01-14T08:43:50Z</updated>
<author>
<name>Geliang Tang</name>
</author>
<published>2015-12-28T15:00:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b5420e1f587b05de49b36472fefad5949042d00'/>
<id>urn:sha1:1b5420e1f587b05de49b36472fefad5949042d00</id>
<content type='text'>
Signed-off-by: Geliang Tang &lt;geliangtang@163.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: Drop owner assignment from i2c_drivers</title>
<updated>2015-08-11T14:08:48Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2015-07-10T05:05:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0e777366fb0eba6facc44f0604fe6adbaf21d604'/>
<id>urn:sha1:0e777366fb0eba6facc44f0604fe6adbaf21d604</id>
<content type='text'>
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max8998: Make of_device_id array const</title>
<updated>2014-06-03T07:11:34Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2014-05-13T10:58:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e920574d7f2869c7be859a4e37da9305be98698e'/>
<id>urn:sha1:e920574d7f2869c7be859a4e37da9305be98698e</id>
<content type='text'>
Array of struct of_device_id may be be const as expected by both
of_match_table field and of_match_node() call.

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max8998: Fix possible NULL pointer dereference on i2c_new_dummy error</title>
<updated>2014-03-19T08:58:09Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2014-02-11T10:03:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed26f87b9f71693a1d1ee85f5e6209601505080f'/>
<id>urn:sha1:ed26f87b9f71693a1d1ee85f5e6209601505080f</id>
<content type='text'>
During probe the driver allocates dummy I2C device for RTC with i2c_new_dummy() but it does not check the return value of this call.

In case of error (i2c_new_device(): memory allocation failure or I2C
address cannot be used) this function returns NULL which is later used
by i2c_unregister_device().

If i2c_new_dummy() fails for RTC device, fail also the probe for
main MFD driver.

Cc: stable@vger.kernel.org
Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max8998: Naturalise cross-architecture discrepancies</title>
<updated>2014-02-19T13:30:25Z</updated>
<author>
<name>Lee Jones</name>
</author>
<published>2014-02-03T08:22:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8bace2d5b4baa0f60b6094b53aeb79515ec94e4a'/>
<id>urn:sha1:8bace2d5b4baa0f60b6094b53aeb79515ec94e4a</id>
<content type='text'>
If we compile the MAX8998 for a 64bit architecture we receive the following
warnings:

  drivers/mfd/max8998.c: In function ‘max8998_i2c_get_driver_data’:
  drivers/mfd/max8998.c:178:10:
    warning: cast from pointer to integer of different size
     return (int)match-&gt;data;
            ^

Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>drivers/mfd/max8998.c: fix pointer-integer size mismatch warning in max8998_i2c_get_driver_data()</title>
<updated>2014-01-24T00:36:55Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2014-01-23T23:54:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f30c0c32b69b6467fa23e2798432262428587471'/>
<id>urn:sha1:f30c0c32b69b6467fa23e2798432262428587471</id>
<content type='text'>
Fix up the following pointer-integer size mismatch warning in
max8998_i2c_get_driver_data():

	drivers/mfd/max8998.c: In function 'max8998_i2c_get_driver_data':
	drivers/mfd/max8998.c:178:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
		return (int)match-&gt;data;
		       ^

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Cc: Tomasz Figa &lt;t.figa@samsung.com&gt;
Cc: Mark Brown &lt;broonie@linaro.org&gt;
Cc: Samuel Ortiz &lt;sameo@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>
</entry>
<entry>
<title>mfd: maxim: Constify struct mfd_cell where possible</title>
<updated>2014-01-06T09:13:27Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2013-11-18T13:33:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c0517b1716bc1aa873064290401a8ce2fbabc32'/>
<id>urn:sha1:7c0517b1716bc1aa873064290401a8ce2fbabc32</id>
<content type='text'>
As of commit 03e361b25ee8dfb1fd9b890072c23c4aae01c6c7 ("mfd: Stop setting
refcounting pointers in original mfd_cell arrays"), the "cell" parameter of
mfd_add_devices() is "const" again. Hence make all cell data passed to
mfd_add_devices() const where possible.

Signed-off-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max8998: Use devm_*() functions</title>
<updated>2013-08-20T07:51:23Z</updated>
<author>
<name>Jingoo Han</name>
</author>
<published>2013-08-20T07:04:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0010dd3883b8a5e99c7d4093b97e9e34300a2f03'/>
<id>urn:sha1:0010dd3883b8a5e99c7d4093b97e9e34300a2f03</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: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: Use dev_get_platdata()</title>
<updated>2013-07-31T12:01:29Z</updated>
<author>
<name>Jingoo Han</name>
</author>
<published>2013-07-30T08:10:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=334a41ce9b753ec615e8c6c50ee07d6197190610'/>
<id>urn:sha1:334a41ce9b753ec615e8c6c50ee07d6197190610</id>
<content type='text'>
Use the wrapper function for retrieving the platform data instead of
accessing dev-&gt;platform_data directly.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max8998: Add support for Device Tree</title>
<updated>2013-06-30T21:30:04Z</updated>
<author>
<name>Tomasz Figa</name>
</author>
<published>2013-06-25T14:08:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ee999fb3f17faa3af6028bf7130707fe0d4157a4'/>
<id>urn:sha1:ee999fb3f17faa3af6028bf7130707fe0d4157a4</id>
<content type='text'>
This patch adds Device Tree support to max8998 driver.

Signed-off-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
Acked-by: Mark Brown &lt;broonie@linaro.org&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
</feed>
