Skip to contentSkip to conversation

PM: Remove sysdev suspend, resume and shutdown operations

DISCUSSION Benjamin Herrenschmidt 2 participants 2 messages May 20, 2011 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines · Linux Kernel Mailing List
Gitweb:     http://git.kernel.org/linus/2e711c04dbbf7a7732a3f7073b1fc285d12b369d
Commit:     2e711c04dbbf7a7732a3f7073b1fc285d12b369d
Parent:     f5a592f7d74e38c5007876c731e6bf5580072e63
Author:     Rafael J. Wysocki <[email protected]>
AuthorDate: Tue Apr 26 19:15:07 2011 +0200
Committer:  Rafael J. Wysocki <[email protected]>
CommitDate: Wed May 11 21:37:15 2011 +0200
Quoted 8 lines

PM: Remove sysdev suspend, resume and shutdown operations

Since suspend, resume and shutdown operations in struct sysdev_class and struct sysdev_driver are not used any more, remove them. Also drop sysdev_suspend(), sysdev_resume() and sysdev_shutdown() used for executing those operations and modify all of their users accordingly. This reduces kernel code size quite a bit and reduces its complexity.

Your grep is broken ? :-)

You forgot drivers/macintosh/via-pmu.c ... I'll stick a fix in powerpc before I send to Linus later today.

Cheers,
Ben.

#2 lore raw
Quoted 11 lines · Benjamin Herrenschmidt
Quoted 10 lines · Linux Kernel Mailing List
Gitweb:     http://git.kernel.org/linus/2e711c04dbbf7a7732a3f7073b1fc285d12b369d
Commit:     2e711c04dbbf7a7732a3f7073b1fc285d12b369d
Parent:     f5a592f7d74e38c5007876c731e6bf5580072e63
Author:     Rafael J. Wysocki <[email protected]>
AuthorDate: Tue Apr 26 19:15:07 2011 +0200
Committer:  Rafael J. Wysocki <[email protected]>
CommitDate: Wed May 11 21:37:15 2011 +0200

PM: Remove sysdev suspend, resume and shutdown operations

Quoted 8 lines
Quoted 6 lines

Since suspend, resume and shutdown operations in struct sysdev_class and struct sysdev_driver are not used any more, remove them. Also drop sysdev_suspend(), sysdev_resume() and sysdev_shutdown() used for executing those operations and modify all of their users accordingly. This reduces kernel code size quite a bit and reduces its complexity.

Your grep is broken ? :-)

Apparently, it is ...

Quoted 2 lines

You forgot drivers/macintosh/via-pmu.c ... I'll stick a fix in powerpc before I send to Linus later today.

Many thanks and sorry for the trouble.

Rafael