greybus: audio_codec: Don't be tricky with the driver model
authorGreg Kroah-Hartman <gregkh@google.com>
Wed, 20 Jan 2016 22:41:40 +0000 (14:41 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 21 Jan 2016 00:35:24 +0000 (16:35 -0800)
commit4b874134284b1dbb340f063fe0cf5141ffd416b1
tree752657696870039a39baa69d5c201aba8c7fd712
parent7d81bafa4ca477a4d364dd229bbbeffb1fa7af4e
greybus: audio_codec: Don't be tricky with the driver model

With the recent changes by Johan to the driver model of the greybus
code, the audio_codec no longer should need to provide a "dummy" driver
when registering the codec.  In fact, having it there causes the greybus
core to crash when inserting the module.  Removing it all fixes the
crash.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/audio_codec.c