Repository navigation
Commit 3a4bc2f
drivers: char: mem: Simplify DEVPORT configuration
Simplify the use of CONFIG_DEVPORT by making the port_fops
so that it includes __maybe_unused.
This enabled the multiple #ifdef's used for this structure
to be removed and brings it in line with the use of CONFIG_DEVMEM
This change should introduce no functional changes.
Signed-off-by: Rob Ward <robert.ward114@googlemail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent a8c9125 commit 3a4bc2f
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
545 | | - | |
546 | 545 | | |
547 | 546 | | |
548 | 547 | | |
| |||
583 | 582 | | |
584 | 583 | | |
585 | 584 | | |
586 | | - | |
587 | 585 | | |
588 | 586 | | |
589 | 587 | | |
| |||
738 | 736 | | |
739 | 737 | | |
740 | 738 | | |
741 | | - | |
742 | | - | |
| 739 | + | |
743 | 740 | | |
744 | 741 | | |
745 | 742 | | |
746 | 743 | | |
747 | 744 | | |
748 | | - | |
749 | 745 | | |
750 | 746 | | |
751 | 747 | | |
| |||
0 commit comments