Skip to content

Commit 479e64c

Browse files
author
Al Viro
committed
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: Al Viro <viro@zeniv.linux.org.uk>
1 parent 36a7411 commit 479e64c

53 files changed

Lines changed: 5 additions & 54 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎fs/nls/mac-celtic.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ static struct nls_table table = {
583583
.char2uni = char2uni,
584584
.charset2lower = charset2lower,
585585
.charset2upper = charset2upper,
586-
.owner = THIS_MODULE,
587586
};
588587

589588
static int __init init_nls_macceltic(void)

‎fs/nls/mac-centeuro.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,6 @@ static struct nls_table table = {
513513
.char2uni = char2uni,
514514
.charset2lower = charset2lower,
515515
.charset2upper = charset2upper,
516-
.owner = THIS_MODULE,
517516
};
518517

519518
static int __init init_nls_maccenteuro(void)

‎fs/nls/mac-croatian.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ static struct nls_table table = {
583583
.char2uni = char2uni,
584584
.charset2lower = charset2lower,
585585
.charset2upper = charset2upper,
586-
.owner = THIS_MODULE,
587586
};
588587

589588
static int __init init_nls_maccroatian(void)

‎fs/nls/mac-cyrillic.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,6 @@ static struct nls_table table = {
478478
.char2uni = char2uni,
479479
.charset2lower = charset2lower,
480480
.charset2upper = charset2upper,
481-
.owner = THIS_MODULE,
482481
};
483482

484483
static int __init init_nls_maccyrillic(void)

‎fs/nls/mac-gaelic.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,6 @@ static struct nls_table table = {
548548
.char2uni = char2uni,
549549
.charset2lower = charset2lower,
550550
.charset2upper = charset2upper,
551-
.owner = THIS_MODULE,
552551
};
553552

554553
static int __init init_nls_macgaelic(void)

‎fs/nls/mac-greek.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,6 @@ static struct nls_table table = {
478478
.char2uni = char2uni,
479479
.charset2lower = charset2lower,
480480
.charset2upper = charset2upper,
481-
.owner = THIS_MODULE,
482481
};
483482

484483
static int __init init_nls_macgreek(void)

‎fs/nls/mac-iceland.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ static struct nls_table table = {
583583
.char2uni = char2uni,
584584
.charset2lower = charset2lower,
585585
.charset2upper = charset2upper,
586-
.owner = THIS_MODULE,
587586
};
588587

589588
static int __init init_nls_maciceland(void)

‎fs/nls/mac-inuit.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,6 @@ static struct nls_table table = {
513513
.char2uni = char2uni,
514514
.charset2lower = charset2lower,
515515
.charset2upper = charset2upper,
516-
.owner = THIS_MODULE,
517516
};
518517

519518
static int __init init_nls_macinuit(void)

‎fs/nls/mac-roman.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ static struct nls_table table = {
618618
.char2uni = char2uni,
619619
.charset2lower = charset2lower,
620620
.charset2upper = charset2upper,
621-
.owner = THIS_MODULE,
622621
};
623622

624623
static int __init init_nls_macroman(void)

‎fs/nls/mac-romanian.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ static struct nls_table table = {
583583
.char2uni = char2uni,
584584
.charset2lower = charset2lower,
585585
.charset2upper = charset2upper,
586-
.owner = THIS_MODULE,
587586
};
588587

589588
static int __init init_nls_macromanian(void)

0 commit comments

Comments
 (0)