diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2017-07-12 07:49:28 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-09-01 01:10:13 +0200 |
commit | d8490fd55ab90e0039242a5f53acf8a6c2c5e961 (patch) | |
tree | 4cfd89803fe3d974fe172f5beb1ff16cd098b2d9 /samples/connector | |
parent | rtc: ds1307: factor out bbsqi bit to struct chip_desc (diff) | |
download | linux-d8490fd55ab90e0039242a5f53acf8a6c2c5e961.tar.xz linux-d8490fd55ab90e0039242a5f53acf8a6c2c5e961.zip |
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>
Diffstat (limited to 'samples/connector')
0 files changed, 0 insertions, 0 deletions