dm: sound: Move common code out of maxim98095
authorSimon Glass <sjg@chromium.org>
Mon, 10 Dec 2018 17:37:42 +0000 (10:37 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Dec 2018 23:36:30 +0000 (16:36 -0700)
commit0ab6f0b358195b26096806f3002c8d153e5334dd
tree8e8793d4db2fb5ab7c352108a27e28ad3a88c5fc
parent482e585bdf4a9eb1374d525ec4e57c671038d239
dm: sound: Move common code out of maxim98095

The register-access code is useful for any maxim codec. Move it out into
its own file.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/sound/Makefile
drivers/sound/max98095.c
drivers/sound/max98095.h
drivers/sound/maxim_codec.c [new file with mode: 0644]
drivers/sound/maxim_codec.h [new file with mode: 0644]