summaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2017-07-12 07:49:28 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-09-01 01:10:13 +0200
commitd8490fd55ab90e0039242a5f53acf8a6c2c5e961 (patch)
tree4cfd89803fe3d974fe172f5beb1ff16cd098b2d9 /mm/swapfile.c
parentrtc: ds1307: factor out bbsqi bit to struct chip_desc (diff)
downloadlinux-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 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions