Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/cio: remove pm support from eadm-sch drivers

The 'commit 394216275c7d ("s390: remove broken hibernate /
power management support")' removes the pm-support. Remove the
unused functions in eadm-sch drivers.

Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>

authored by

Vineeth Vijayan and committed by
Heiko Carstens
6b532eec 1cf69b7b

-13
-13
drivers/s390/cio/eadm_sch.c
··· 306 306 eadm_quiesce(sch); 307 307 } 308 308 309 - static int eadm_subchannel_freeze(struct subchannel *sch) 310 - { 311 - return cio_disable_subchannel(sch); 312 - } 313 - 314 - static int eadm_subchannel_restore(struct subchannel *sch) 315 - { 316 - return cio_enable_subchannel(sch, (u32)(unsigned long)sch); 317 - } 318 - 319 309 /** 320 310 * eadm_subchannel_sch_event - process subchannel event 321 311 * @sch: subchannel ··· 359 369 .remove = eadm_subchannel_remove, 360 370 .shutdown = eadm_subchannel_shutdown, 361 371 .sch_event = eadm_subchannel_sch_event, 362 - .freeze = eadm_subchannel_freeze, 363 - .thaw = eadm_subchannel_restore, 364 - .restore = eadm_subchannel_restore, 365 372 }; 366 373 367 374 static int __init eadm_sch_init(void)