dm: sound: max98095: Tidy up error codes
authorSimon Glass <sjg@chromium.org>
Mon, 10 Dec 2018 17:37:49 +0000 (10:37 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Dec 2018 23:36:41 +0000 (16:36 -0700)
commitbc58184ec5013a6ec5bf75a314c08bd7ae24d60b
tree4f069b0df310e2e8bdf221adc641d8ef1c647131
parente9f66f4f5b46f9cee3bd891145f0b6319e511bb5
dm: sound: max98095: Tidy up error codes

Return a valid error code instead of -1.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/sound/max98095.c