summaryrefslogtreecommitdiff
path: root/screen.c
blob: 34b27f3cca1da47c576ae746bbf3a7f17de22916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <curses.h>

#include "screen.h"

WINDOW *screen_init(bool israw)
{
	WINDOW *screen = initscr();

	if (israw)
		raw();
	noecho();
	cbreak();
	nodelay(screen, TRUE);
	keypad(stdscr, TRUE);
	refresh();
	wrefresh(screen);

	return screen;
}

void screen_end(void)
{
	endwin();
}
16 18:03:55 +0000 commit8313a4fb66b15816883792c9beed45b8978b1c8b (patch) treefbb985ad8972ab716e628150bfd8fb5e924610ec parent25d82337705e24203b27e23762144950f87a1016 (diff)
regulator: twl: kill unused functions
This code was used by OMAP platform based boards which are now DT only. Proper support for SMPS is missing in this driver. Signed-off-by: Nicolae Rosia <Nicolae_Rosia@mentor.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat