RE: [PATCH] mfd: max77686: Fix parent of rtc device

2014-12-03 Thread Yadwinder Singh Brar
On Tuesday, December 02, 2014 7:04 PM, Krzysztof Kozłowski wrote: On 02.12.2014 13:45, Yadwinder Singh Brar wrote: rtc have different i2c client than power(pmic) block. So rtc device should sit under its own i2c client in device hierarchy, which reflects in sysfs also. This patch

Re: [PATCH] mfd: max77686: Fix parent of rtc device

2014-12-03 Thread Krzysztof Kozlowski
On śro, 2014-12-03 at 14:32 +0530, Yadwinder Singh Brar wrote: On Tuesday, December 02, 2014 7:04 PM, Krzysztof Kozłowski wrote: On 02.12.2014 13:45, Yadwinder Singh Brar wrote: rtc have different i2c client than power(pmic) block. So rtc device should sit under its own i2c client in

RE: [PATCH] mfd: max77686: Fix parent of rtc device

2014-12-03 Thread Yadwinder Singh Brar
On Wednesday, December 03, 2014 2:56 PM, Krzysztof Kozlowski wrote: On śro, 2014-12-03 at 14:32 +0530, Yadwinder Singh Brar wrote: On Tuesday, December 02, 2014 7:04 PM, Krzysztof Kozłowski wrote: On 02.12.2014 13:45, Yadwinder Singh Brar wrote: rtc have different i2c client than

Re: [PATCH] mfd: max77686: Fix parent of rtc device

2014-12-02 Thread Krzysztof Kozłowski
On 02.12.2014 13:45, Yadwinder Singh Brar wrote: rtc have different i2c client than power(pmic) block. So rtc device should sit under its own i2c client in device hierarchy, which reflects in sysfs also. This patch modifies code to register rtc cell with rtc-dev as parent. Without this