mfd: tps65912-spi: Add missing of table registration
authorDaniel Gomez <dagmcr@gmail.com>
Mon, 22 Apr 2019 19:09:50 +0000 (21:09 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 14 May 2019 07:13:27 +0000 (08:13 +0100)
commit9e364e87ad7f2c636276c773d718cda29d62b741
treefa97299c35ff3e33f0674112584ebd60432bcc45
parente7037d75ac486ef6b3e9852b45293c6769be6802
mfd: tps65912-spi: Add missing of table registration

MODULE_DEVICE_TABLE(of, <of_match_table> should be called to complete DT
OF mathing mechanism and register it.

Before this patch:
modinfo drivers/mfd/tps65912-spi.ko | grep alias
alias:          spi:tps65912

After this patch:
modinfo drivers/mfd/tps65912-spi.ko | grep alias
alias:          of:N*T*Cti,tps65912C*
alias:          of:N*T*Cti,tps65912
alias:          spi:tps65912

Reported-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Daniel Gomez <dagmcr@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/tps65912-spi.c