Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 479e64c2 authored by Al Viro's avatar Al Viro
Browse files

nls: have register_nls() set ->owner



pass owner explicitly to __register_nls(), make register_nls() a macro passing
THIS_MODULE as the owner argument to __register_nls().

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 36a74117
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -583,7 +583,6 @@ static struct nls_table table = {
	.char2uni	= char2uni,
	.charset2lower	= charset2lower,
	.charset2upper	= charset2upper,
	.owner		= THIS_MODULE,
};

static int __init init_nls_macceltic(void)
+0 −1
Original line number Diff line number Diff line
@@ -513,7 +513,6 @@ static struct nls_table table = {
	.char2uni	= char2uni,
	.charset2lower	= charset2lower,
	.charset2upper	= charset2upper,
	.owner		= THIS_MODULE,
};

static int __init init_nls_maccenteuro(void)
+0 −1
Original line number Diff line number Diff line
@@ -583,7 +583,6 @@ static struct nls_table table = {
	.char2uni	= char2uni,
	.charset2lower	= charset2lower,
	.charset2upper	= charset2upper,
	.owner		= THIS_MODULE,
};

static int __init init_nls_maccroatian(void)
+0 −1
Original line number Diff line number Diff line
@@ -478,7 +478,6 @@ static struct nls_table table = {
	.char2uni	= char2uni,
	.charset2lower	= charset2lower,
	.charset2upper	= charset2upper,
	.owner		= THIS_MODULE,
};

static int __init init_nls_maccyrillic(void)
+0 −1
Original line number Diff line number Diff line
@@ -548,7 +548,6 @@ static struct nls_table table = {
	.char2uni	= char2uni,
	.charset2lower	= charset2lower,
	.charset2upper	= charset2upper,
	.owner		= THIS_MODULE,
};

static int __init init_nls_macgaelic(void)
Loading