wm8510 506 sound/soc/codecs/wm8510.c struct wm8510_priv *wm8510 = snd_soc_component_get_drvdata(component); wm8510 520 sound/soc/codecs/wm8510.c regcache_sync(wm8510->regmap); wm8510 618 sound/soc/codecs/wm8510.c struct wm8510_priv *wm8510; wm8510 621 sound/soc/codecs/wm8510.c wm8510 = devm_kzalloc(&spi->dev, sizeof(struct wm8510_priv), wm8510 623 sound/soc/codecs/wm8510.c if (wm8510 == NULL) wm8510 626 sound/soc/codecs/wm8510.c wm8510->regmap = devm_regmap_init_spi(spi, &wm8510_regmap); wm8510 627 sound/soc/codecs/wm8510.c if (IS_ERR(wm8510->regmap)) wm8510 628 sound/soc/codecs/wm8510.c return PTR_ERR(wm8510->regmap); wm8510 630 sound/soc/codecs/wm8510.c spi_set_drvdata(spi, wm8510); wm8510 651 sound/soc/codecs/wm8510.c struct wm8510_priv *wm8510; wm8510 654 sound/soc/codecs/wm8510.c wm8510 = devm_kzalloc(&i2c->dev, sizeof(struct wm8510_priv), wm8510 656 sound/soc/codecs/wm8510.c if (wm8510 == NULL) wm8510 659 sound/soc/codecs/wm8510.c wm8510->regmap = devm_regmap_init_i2c(i2c, &wm8510_regmap); wm8510 660 sound/soc/codecs/wm8510.c if (IS_ERR(wm8510->regmap)) wm8510 661 sound/soc/codecs/wm8510.c return PTR_ERR(wm8510->regmap); wm8510 663 sound/soc/codecs/wm8510.c i2c_set_clientdata(i2c, wm8510);