x86: itss: Tidy up bind() for of-platdata-inst
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:47 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:09 +0000 (17:03 +1300)
commit763ce51bc32470eeb7316643f4f341e14fe4ee07
treee7ba856140c947a400e2b3364c8ec03180fe643b
parenta65c35ed7784d782e6aecb6c85c84e77a08474b7
x86: itss: Tidy up bind() for of-platdata-inst

With the standard of-platdata we must fix up driver_data manually. With
of-platadata-inst this is not necessary, since it is added to the device
by dtoc.

Update the code to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/intel_common/itss.c