linux-stable/drivers/s390/cio
Julian Wiedmann d5d006fa09 s390/qdio: simplify debugfs code
There's no need for error handling, the debugfs core is smart enough to
deal with IS_ERR() internally.

This will also keep us from creating the debugfs files if the device
directory doesn't exist. Currently (because irq_ptr->debugfs_dev gets set
to NULL on error) the files would be placed into the debugfs root - without
any association to their parent device.

On teardown, use the debugfs_remove_recursive() helper to avoid keeping
track of each created file/directory.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2020-02-27 16:02:21 +01:00
..
airq.c
blacklist.c proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
blacklist.h
ccwgroup.c s390 updates for the 5.4 merge window #2 2019-09-26 11:30:16 -07:00
ccwreq.c
chp.c
chp.h
chsc.c
chsc.h
chsc_sch.c
chsc_sch.h
cio.c
cio.h s390/cio: fix virtio-ccw DMA without PV 2019-10-10 10:49:46 +02:00
cio_debug.h
cmf.c
crw.c
css.c proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
css.h
device.c s390/cio: fix virtio-ccw DMA without PV 2019-10-10 10:49:46 +02:00
device.h
device_fsm.c
device_id.c
device_ops.c s390/dasd/cio: Interpret ccw_device_get_mdc return value correctly 2019-12-20 11:52:01 -07:00
device_pgid.c
device_status.c
eadm_sch.c
eadm_sch.h
fcx.c
idset.c
idset.h
io_sch.h
ioasm.c
ioasm.h
isc.c
itcw.c
Makefile vfio-ccw: Refactor how the traces are built 2019-10-17 11:35:56 +02:00
orb.h
qdio.h s390/qdio: simplify debugfs code 2020-02-27 16:02:21 +01:00
qdio_debug.c s390/qdio: simplify debugfs code 2020-02-27 16:02:21 +01:00
qdio_debug.h
qdio_main.c s390/qdio: reduce access to cdev->private->qdio_data 2020-02-19 17:27:24 +01:00
qdio_setup.c s390/qdio: simplify debugfs code 2020-02-27 16:02:21 +01:00
qdio_thinint.c s390/qdio: simplify thinint device registration 2019-10-31 17:20:51 +01:00
scm.c
trace.c
trace.h
vfio_ccw_async.c
vfio_ccw_cp.c
vfio_ccw_cp.h vfio-ccw: Refactor how the traces are built 2019-10-17 11:35:56 +02:00
vfio_ccw_drv.c vfio-ccw: fix error return code in vfio_ccw_sch_init() 2019-09-05 15:18:15 +02:00
vfio_ccw_fsm.c vfio-ccw: Rework the io_fctl trace 2019-10-17 11:37:24 +02:00
vfio_ccw_ops.c vfio-ccw: add some logging 2019-08-23 12:53:32 +02:00
vfio_ccw_private.h vfio-ccw: Trace the FSM jumptable 2019-10-17 11:36:29 +02:00
vfio_ccw_trace.c vfio-ccw: Rework the io_fctl trace 2019-10-17 11:37:24 +02:00
vfio_ccw_trace.h vfio-ccw: Use the correct style for SPDX License Identifier 2020-01-07 10:37:34 +01:00