X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fdm%2Fdevice-internal.h;h=322d35a4789c2f81a1401d066af09f3a47b22983;hb=e439af81804d15fd95f804205184a9ff3e15b72a;hp=04884f18057e3a3ca2da81f4e2094433dbf6b4c1;hpb=5c0726c75da21dc61c2180a80fa2e9fab8db1d7f;p=karo-tx-uboot.git diff --git a/include/dm/device-internal.h b/include/dm/device-internal.h index 04884f1805..322d35a478 100644 --- a/include/dm/device-internal.h +++ b/include/dm/device-internal.h @@ -31,7 +31,7 @@ struct udevice; * devices which use device tree. * @of_offset: Offset of device tree node for this device. This is -1 for * devices which don't use device tree. - * @devp: Returns a pointer to the bound device + * @devp: if non-NULL, returns a pointer to the bound device * @return 0 if OK, -ve on error */ int device_bind(struct udevice *parent, const struct driver *drv, @@ -48,7 +48,7 @@ int device_bind(struct udevice *parent, const struct driver *drv, * @pre_reloc_only: If true, bind the driver only if its DM_INIT_F flag is set. * If false bind the driver always. * @info: Name and platdata for this device - * @devp: Returns a pointer to the bound device + * @devp: if non-NULL, returns a pointer to the bound device * @return 0 if OK, -ve on error */ int device_bind_by_name(struct udevice *parent, bool pre_reloc_only,