Commit 796cfabd authored by Vineeth Vijayan's avatar Vineeth Vijayan Committed by Heiko Carstens
Browse files

s390/cio: remove pm support from IO subchannel drivers



The power-management functions are unused since the
'commit 39421627 ("s390: remove broken hibernate / power
management support")'. Remove these unused pm callbacks from
io-subchannel drivers.

Signed-off-by: default avatarVineeth Vijayan <vneethv@linux.ibm.com>
Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent bfa11151
Loading
Loading
Loading
Loading
+0 −14
Original line number Original line Diff line number Diff line
@@ -149,19 +149,6 @@ static struct css_device_id io_subchannel_ids[] = {
	{ /* end of list */ },
	{ /* end of list */ },
};
};


static int io_subchannel_prepare(struct subchannel *sch)
{
	struct ccw_device *cdev;
	/*
	 * Don't allow suspend while a ccw device registration
	 * is still outstanding.
	 */
	cdev = sch_get_cdev(sch);
	if (cdev && !device_is_registered(&cdev->dev))
		return -EAGAIN;
	return 0;
}

static int io_subchannel_settle(void)
static int io_subchannel_settle(void)
{
{
	int ret;
	int ret;
@@ -186,7 +173,6 @@ static struct css_driver io_subchannel_driver = {
	.probe = io_subchannel_probe,
	.probe = io_subchannel_probe,
	.remove = io_subchannel_remove,
	.remove = io_subchannel_remove,
	.shutdown = io_subchannel_shutdown,
	.shutdown = io_subchannel_shutdown,
	.prepare = io_subchannel_prepare,
	.settle = io_subchannel_settle,
	.settle = io_subchannel_settle,
};
};