platform/x86: ISST: Use dev_get_drvdata
authorChuhong Yuan <hslester96@gmail.com>
Wed, 24 Jul 2019 12:23:20 +0000 (20:23 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 30 Jul 2019 11:12:51 +0000 (14:12 +0300)
commit5599e98fe06a88db55133ae8ac53f69216b82c6a
tree52ff52fcc968adb961fc1cff193bcc342b6d65b6
parent35b7c80827e9352b88a2379f06cbb9aa3dd64c14
platform/x86: ISST: Use dev_get_drvdata

Instead of using to_pci_dev + pci_get_drvdata,
use dev_get_drvdata to make code simpler.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c