]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
reset: Remove copy'n'paste redundancy in the comments
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Aug 2019 10:52:52 +0000 (13:52 +0300)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 3 Oct 2019 17:56:51 +0000 (19:56 +0200)
It seems the commit bb475230b8e5
("reset: make optional functions really optional")
brought couple of redundant lines in the comments.

Drop them here.

Cc: Ramiro Oliveira <Ramiro.Oliveira@synopsys.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/core.c

index 213ff40dda110e42a641dedd01d79bec80b56b95..2badff33a0db17270a31657c10113ada36e798cf 100644 (file)
@@ -334,7 +334,6 @@ EXPORT_SYMBOL_GPL(reset_control_reset);
  * internal state to be reset, but must be prepared for this to happen.
  * Consumers must not use reset_control_reset on shared reset lines when
  * reset_control_(de)assert has been used.
- * return 0.
  *
  * If rstc is NULL it is an optional reset and the function will just
  * return 0.
@@ -393,7 +392,6 @@ EXPORT_SYMBOL_GPL(reset_control_assert);
  * After calling this function, the reset is guaranteed to be deasserted.
  * Consumers must not use reset_control_reset on shared reset lines when
  * reset_control_(de)assert has been used.
- * return 0.
  *
  * If rstc is NULL it is an optional reset and the function will just
  * return 0.