OSDN Git Service

driver core: Rename flag AUTOREMOVE to AUTOREMOVE_CONSUMER
authorVivek Gautam <vivek.gautam@codeaurora.org>
Wed, 27 Jun 2018 12:50:55 +0000 (18:20 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 9 Jul 2018 10:14:31 +0000 (12:14 +0200)
commite88728f46cfbb59cc7e7acf1d230c05ec093764e
tree4abf96530a5005bfcc7b733c95d8c020bd5a48cf
parent1e4b044d22517cae7047c99038abb444423243ca
driver core: Rename flag AUTOREMOVE to AUTOREMOVE_CONSUMER

Now that we want to add another flag to autoremove the device link
on supplier unbind, it's fair to rename the existing flag from
DL_FLAG_AUTOREMOVE to DL_FLAG_AUTOREMOVE_CONSUMER so that we can
add similar flag for supplier later.
And, while we are touching device.h, fix a doc build warning.

Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/driver-api/device_link.rst
drivers/base/core.c
drivers/gpu/drm/tegra/dc.c
drivers/gpu/ipu-v3/ipu-pre.c
drivers/gpu/ipu-v3/ipu-prg.c
drivers/soc/imx/gpc.c
include/linux/device.h