firmware: vpd: Probe via coreboot bus
commita43eb6b3402fdfce9b4c4fc26983a2c5d14720ff
authorSamuel Holland <samuel@sholland.org>
Thu, 25 Jan 2018 01:41:18 +0000 (24 19:41 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 11:37:19 +0000 (23 13:37 +0200)
tree4d3d7b1450812d379c1e674044c2d0c105b0354e
parent294b2a9087666e31307a7a6c8da62b14442a6ef2
firmware: vpd: Probe via coreboot bus

Remove the ad-hoc coreboot table search. Now the driver will only be
probed when the necessary coreboot table entry has already been found.
Furthermore, since the coreboot bus takes care of creating the device, a
separate platform device is no longer needed.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/google/vpd.c