soc/intel: Use config_of()
Change-Id: I0727a6b327410197cf32f598d1312737744386b3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34328 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: David Guckian
This commit is contained in:
@@ -139,7 +139,7 @@ static void i2c_disable_resets(struct device *dev)
|
||||
|
||||
static void lpss_init(struct device *dev)
|
||||
{
|
||||
struct soc_intel_braswell_config *config = dev->chip_info;
|
||||
struct soc_intel_braswell_config *config = config_of(dev);
|
||||
int iosf_reg, nvs_index;
|
||||
|
||||
printk(BIOS_SPEW, "%s/%s (%s)\n",
|
||||
|
Reference in New Issue
Block a user