26 Jan
2023
26 Jan
'23
6:25 p.m.
On Thu, Jan 26, 2023 at 05:21:24PM +0100, Arnd Bergmann wrote:
From: Arnd Bergmann arnd@arndb.de
While looking through legacy platform data users, I noticed that the DT probing never uses data from the DT properties, as the platform_data structure gets overwritten directly after it is initialized.
There have never been any boards defining the platform_data in the mainline kernel either, so this driver so far only worked with patched kernels or with the default values.
For the benefit of possible downstream users, fix the DT probe by no longer overwriting the data.
Signed-off-by: Arnd Bergmann arnd@arndb.de
Acked-by: Charles Keepax ckeepax@opensource.cirrus.com
Thanks, Charles