From: Simon Glass Date: Tue, 4 Jul 2017 13:49:00 -0600 Subject: [U-Boot] [PATCH 08/39] dm: core: Add a comment about the device_remove() flags In-Reply-To: <20170704194931.88240-1-sjg@chromium.org> References: <20170704194931.88240-1-sjg@chromium.org> Message-ID: <20170704194931.88240-9-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de We should explain which flags are used for this function. Update the comment to indicate this. Signed-off-by: Simon Glass --- include/dm/device-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dm/device-internal.h b/include/dm/device-internal.h index 81ab893b60..eaeadd48d2 100644 --- a/include/dm/device-internal.h +++ b/include/dm/device-internal.h @@ -98,7 +98,7 @@ int device_probe(struct udevice *dev); * children are deactivated first. * * @dev: Pointer to device to remove - * @flags: Flags for selective device removal + * @flags: Flags for selective device removal (DM_REMOVE_...) * @return 0 if OK, -ve on error (an error here is normally a very bad thing) */ #if CONFIG_IS_ENABLED(DM_DEVICE_REMOVE) -- 2.13.2.725.g09c95d1e9-goog