summaryrefslogtreecommitdiff
path: root/drivers/hwmon/lm63.c
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-07-13 16:12:04 -0700
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-09-29 06:02:15 +0200
commita8faaffbaf8216c69fa7e20df7841d2f6dd0e905 (patch)
treedf3d95de2c07e838ae54f0ea20ace3084dfcdb51 /drivers/hwmon/lm63.c
parent68ab0dc0c04b0e70854fa630993da83a5b785bcf (diff)
tools/env: complete environment device config early
Currently flash_read completes a crucial part of the environment device configuration, the device type (mtd_type). This is rather confusing as flash_io calls flash_read conditionally, and one might think flash_write, which also makes use of mtd_type, gets called before flash_read. But since flash_io is always called with O_RDONLY first, this is not actually the case in reality. However, it is much cleaner to complete and verify the config early in parse_config. This also prepares the code for further extension. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'drivers/hwmon/lm63.c')
0 files changed, 0 insertions, 0 deletions