dm: Use access methods for dev/uclass private data
Most drivers use these access methods but a few do not. Update them. In some cases the access is not permitted, so mark those with a FIXME tag for the maintainer to check. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Pratyush Yadav <p.yadav@ti.com>
This commit is contained in:
@@ -59,7 +59,7 @@ U_BOOT_CMD(
|
||||
static int altera_sysid_read(struct udevice *dev,
|
||||
int offset, void *buf, int size)
|
||||
{
|
||||
struct altera_sysid_plat *plat = dev->plat;
|
||||
struct altera_sysid_plat *plat = dev_get_plat(dev);
|
||||
struct altera_sysid_regs *const regs = plat->regs;
|
||||
u32 *sysid = buf;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user