dm: sound: max98095: Drop global i2c-address variable
authorSimon Glass <sjg@chromium.org>
Mon, 3 Dec 2018 11:37:30 +0000 (04:37 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Dec 2018 23:32:49 +0000 (16:32 -0700)
commit372922ca8f8ad851d6003f76fff9edd4c8cb172f
treef0dbe82454434be468ff8c2e3423aedd76bc618a
parent6ab0d25d55b104db45f0d4f88d74d6a5e234a476
dm: sound: max98095: Drop global i2c-address variable

We can put this in the private structure and avoid a global.

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