cxl: Fix informational message
authorFrederic Barrat <fbarrat@linux.vnet.ibm.com>
Mon, 12 Sep 2016 10:37:43 +0000 (12:37 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Sep 2016 07:37:11 +0000 (17:37 +1000)
commitb135077b83f01549c2a0685b16b540254ce60e0f
tree6963ae510d1b35b9e222ff7bc30fe1de19c7dc0e
parent3daf3c206992891ac0cec6a54a893521064a7674
cxl: Fix informational message

When set_sl_ops() is called, the adapter data structure is not fully
initialized yet. Therefore the device name is not showing up in the
trace. Fix is simply to get the device name from the pci_dev
structure.

Fixes: 6d382616ac22 ("cxl: Abstract the differences between the PSL and XSL")
Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/pci.c