diff options
author | SeongJae Park <sj@kernel.org> | 2022-10-27 00:59:42 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-12-01 00:01:26 +0100 |
commit | 7ae2c17f53d5054d1fe5c1a103ad46068034617d (patch) | |
tree | 8f6fb2b8ce5811dd56dbb17592975acb8796dd6d /drivers/regulator/rt4831-regulator.c | |
parent | mm/damon/sysfs: split out schemes directory implementation to separate file (diff) | |
download | linux-7ae2c17f53d5054d1fe5c1a103ad46068034617d.tar.xz linux-7ae2c17f53d5054d1fe5c1a103ad46068034617d.zip |
mm/damon/modules: deduplicate init steps for DAMON context setup
DAMON_RECLAIM and DAMON_LRU_SORT has duplicated code for DAMON context and
target initializations. Deduplicate the part by implementing a function
for the initialization in 'modules-common.c' and using it.
Link: https://lkml.kernel.org/r/20221026225943.100429-12-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/regulator/rt4831-regulator.c')
0 files changed, 0 insertions, 0 deletions