From: Pavel Machek <pavel@ucw.cz>
To: Andrew Morton <akpm@zip.com.au>,
kernel list <linux-kernel@vger.kernel.org>
Subject: pm: remove obsolete pm_* from vt.c
Date: Sat, 19 Mar 2005 12:11:55 +0100 [thread overview]
Message-ID: <20050319111155.GA1569@elf.ucw.cz> (raw)
Hi!
Those functions are useless these days, and should be gone... Please apply,
Pavel
Signed-off-by: Pavel Machek <pavel@suse.cz>
--- clean/drivers/char/vt.c 2005-03-19 00:31:21.000000000 +0100
+++ linux/drivers/char/vt.c 2005-03-19 00:37:26.000000000 +0100
@@ -221,9 +221,6 @@
#define DO_UPDATE(vc) CON_IS_VISIBLE(vc)
#endif
-static int pm_con_request(struct pm_dev *dev, pm_request_t rqst, void *data);
-static struct pm_dev *pm_con;
-
static inline unsigned short *screenpos(struct vc_data *vc, int offset, int viewed)
{
unsigned short *p;
@@ -723,12 +720,6 @@
}
vc->vc_kmalloced = 1;
vc_init(vc, vc->vc_rows, vc->vc_cols, 1);
-
- if (!pm_con) {
- pm_con = pm_register(PM_SYS_DEV,
- PM_SYS_VGA,
- pm_con_request);
- }
}
return 0;
}
@@ -3218,24 +3209,6 @@
}
}
-static int pm_con_request(struct pm_dev *dev, pm_request_t rqst, void *data)
-{
- switch (rqst)
- {
- case PM_RESUME:
- acquire_console_sem();
- unblank_screen();
- release_console_sem();
- break;
- case PM_SUSPEND:
- acquire_console_sem();
- do_blank_screen(0);
- release_console_sem();
- break;
- }
- return 0;
-}
-
/*
* Visible symbols for modules
*/
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
reply other threads:[~2005-03-19 11:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050319111155.GA1569@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=akpm@zip.com.au \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®