]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: cs35l41: Don't dereference fwnode handle
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 12 Jul 2022 15:35:16 +0000 (18:35 +0300)
committerTakashi Iwai <tiwai@suse.de>
Wed, 13 Jul 2022 06:28:12 +0000 (08:28 +0200)
commit1a1d0dbd0a29a04358f6861d4bbfd0a91162511d
tree048c9ae80f983b2fd1b5748946167dd9c69b086f
parentb29f5447c0a0cccd29ee2262ef5a17b8a855257a
ALSA: hda: cs35l41: Don't dereference fwnode handle

Use acpi_fwnode_handle() instead of dereferencing an fwnode handle directly,
which is a better coding practice.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220712153519.35692-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l41_hda.c