drivers/pps: use surrounding "if PPS" to remove numerous dependency checks

Adding high-level "if PPS" makes lower-level dependency tests superfluous.

Link: http://lkml.kernel.org/r/alpine.LFD.2.20.1708261050500.8156@localhost.localdomain
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Robert P. J. Day
2017-09-08 16:17:22 -07:00
committed by Linus Torvalds
parent a2d8180301
commit ab4f526058
3 changed files with 8 additions and 9 deletions

View File

@@ -3,11 +3,10 @@
#
comment "PPS generators support"
depends on PPS
config PPS_GENERATOR_PARPORT
tristate "Parallel port PPS signal generator"
depends on PPS && PARPORT && BROKEN
depends on PARPORT && BROKEN
help
If you say yes here you get support for a PPS signal generator which
utilizes STROBE pin of a parallel port to send PPS signals. It uses