<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/rtc/rtc-gemini.c, branch v4.5</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.5</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-01-11T19:19:56Z</updated>
<entry>
<title>rtc: gemini: Remove unnecessary platform_set_drvdata()</title>
<updated>2016-01-11T19:19:56Z</updated>
<author>
<name>Nizam Haider</name>
<email>nizamhaider786@gmail.com</email>
</author>
<published>2015-11-13T20:21:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3fc2c14acaf925768db37cf439c628bfa71dff09'/>
<id>urn:sha1:3fc2c14acaf925768db37cf439c628bfa71dff09</id>
<content type='text'>
The driver core clears the driver data to NULL after device_release
or on probe failure

Signed-off-by: Nizam Haider &lt;nijamh@cdac.in&gt;
Acked-by: Hans Ulli Kroll &lt;ulli.kroll@googlemail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: gemini: fix ptr_ret.cocci warnings</title>
<updated>2015-09-05T11:19:09Z</updated>
<author>
<name>kbuild test robot</name>
<email>fengguang.wu@intel.com</email>
</author>
<published>2015-07-31T09:31:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=202cc98acf96de1c3897194e1ed5ae1c80c8b0f3'/>
<id>urn:sha1:202cc98acf96de1c3897194e1ed5ae1c80c8b0f3</id>
<content type='text'>
drivers/rtc/rtc-gemini.c:151:1-3: WARNING: PTR_ERR_OR_ZERO can be used

 Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR

Generated by: scripts/coccinelle/api/ptr_ret.cocci

Signed-off-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: Drop (un)likely before IS_ERR(_OR_NULL)</title>
<updated>2015-09-05T11:19:09Z</updated>
<author>
<name>viresh kumar</name>
<email>viresh.kumar@linaro.org</email>
</author>
<published>2015-07-31T10:53:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e7cba884af366f49ab7b7f5157e690357addebba'/>
<id>urn:sha1:e7cba884af366f49ab7b7f5157e690357addebba</id>
<content type='text'>
IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there
is no need to do that again from its callers. Drop it.

gemini driver was using likely() for a failure case while the rtc driver
is getting registered. That looks wrong and it should really be
unlikely. But because we are killing all the unlikely() flags, lets kill
that too.

Signed-off-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Acked-by: Hans Ulli Kroll &lt;ulli.kroll@googlemail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: gemini: fix cocci warnings</title>
<updated>2015-06-24T23:13:45Z</updated>
<author>
<name>kbuild test robot</name>
<email>fengguang.wu@intel.com</email>
</author>
<published>2015-06-13T13:16:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=45b4c85b71bbe691329983c9bf9877392700edc3'/>
<id>urn:sha1:45b4c85b71bbe691329983c9bf9877392700edc3</id>
<content type='text'>
Use resource_size function on resource object instead of explicit
computation.

No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically

Signed-off-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Acked-by: Hans Ulli Kroll &lt;ulli.kroll@googlemail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: driver for Cortina Gemini</title>
<updated>2015-06-24T23:13:39Z</updated>
<author>
<name>Hans Ulli Kroll</name>
<email>ulli.kroll@googlemail.com</email>
</author>
<published>2015-05-20T15:49:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=98a9bb5bf44bb6ee372f2a3b42703f597030cc48'/>
<id>urn:sha1:98a9bb5bf44bb6ee372f2a3b42703f597030cc48</id>
<content type='text'>
Driver for the on chip RTC found on Cortina's SoC Gemini.

Signed-off-by: Hans Ulli Kroll &lt;ulli.kroll@googlemail.com&gt;
[alexandre.belloni@free-electrons.com: use devm_request_irq() and remove
useless goto]
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
</feed>
