commit | d8490fd55ab90e0039242a5f53acf8a6c2c5e961 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Wed Jul 12 07:49:28 2017 +0200 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Fri Sep 01 01:10:13 2017 +0200 |
tree | 4cfd89803fe3d974fe172f5beb1ff16cd098b2d9 | |
parent | 0b6ee8059448003591cc67fa1ee7db4d979a5bab [diff] |
rtc: ds1307: improve trickle charger initialization Instead of storing the trickle_charger_setup value in struct chip_desc we can let function ds1307_trickle_init return it because it's used in the probe function only. This allows us to constify struct chip_desc variables in a next step. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>