discover/powerpc: Rearange save_config
authorGe Song <ge.song@hxt-semitech.com>
Thu, 2 Aug 2018 17:29:38 +0000 (17:29 +0000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 7 Aug 2018 01:30:36 +0000 (11:30 +1000)
commitb5ab295d9cbddd1570d05471528f4d2ad7abae07
treefd5fd05a243ded9c8cc738d8566a5deef6944d36
parentdb0ea9230e5d0c7ffe1febc6096395cb306eca7d
discover/powerpc: Rearange save_config

Rearange update_config and save_config so that update_config
only operates on the platform params list.

Signed-off-by: Ge Song <ge.song@hxt-semitech.com>
[Split from a larger patch and cleaned up]
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/platform-powerpc.c