]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
regulator: core: Fix size limit of supply_map
authorHaishan Zhou <zhssmail@gmail.com>
Fri, 30 Jun 2017 03:43:42 +0000 (11:43 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 30 Jun 2017 11:56:42 +0000 (12:56 +0100)
commitdbc559554086f176b04f97eec561ad26ee54e47c
treea955b18c6b9ce14f6446286ea3f96fde5bc11cf3
parent062171973e05440673cb997e64395e84a8e66350
regulator: core: Fix size limit of supply_map

Now the debugfs file supply_map has a size limit PAGE_SIZE and the user
can not see the whole content of regulator_map_list when it is larger
than this limit.

This patch uses seq_file instead to make sure supply_map shows the full
information of regulator_map_list.

Signed-off-by: Haishan Zhou <zhssmail@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c