commit | 8d6d14806afac0dd4a61a254b2009f1715edb43b | [log] [tgz] |
---|---|---|
author | Eric Ernst <eric.ernst@linux.intel.com> | Fri Sep 02 16:12:06 2016 -0700 |
committer | Amit Pundir <amit.pundir@linaro.org> | Mon Oct 24 23:41:21 2016 +0800 |
tree | e0a662cfeef5f4246f9ce0288dcaad44b7c8ca71 | |
parent | ea79ca90d90b64bd82830696bade2d5069b10b7f [diff] |
input: keyreset: switch to orderly_reboot Prior restart function would make a call to sys_sync and then execute a kernel reset. Rather than call the sync directly, thus necessitating this driver to be builtin, call orderly_reboot, which will take care of the file system sync. Note: since CONFIG_INPUT Kconfig is tristate, this driver can be built as module, despite being marked bool. Signed-off-by: Eric Ernst <eric.ernst@linux.intel.com>