summaryrefslogtreecommitdiff
path: root/drivers/soundwire/intel_init.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-06-01 02:20:58 +0800
committerVinod Koul <vkoul@kernel.org>2020-06-22 17:21:36 +0530
commit83e129afbe5c4a444c034e981b0f8535889380fe (patch)
treeed0747933f303c37b54f438544b1ab128bc6474d /drivers/soundwire/intel_init.c
parentb6109dd6dc9fbc5dfae1106972d728eba0afd098 (diff)
soundwire: intel: clarify drvdata and remove more indirections
The use of drvdata mixes two structures. There was no harm the first structure is embedded as the first element of the second, but that's not good. Make sure all drvdata is based on the 'sdw_cdns' structure. While we are at it, remove indirections for 'dev' and 'cdns' to make the code more readable. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20200531182102.27840-3-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/intel_init.c')
0 files changed, 0 insertions, 0 deletions