diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2015-07-23 15:08:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-03 17:20:26 -0700 |
commit | 38d3c00d3f312989e50aaf6f4a4b490b4e1e4c37 (patch) | |
tree | 83b0f493c499edb8e8a43c2354022cf83fba6f80 /drivers/misc/mei | |
parent | 6238299774377b12c3e24507b100b2687eb5ea32 (diff) | |
download | blackbird-obmc-linux-38d3c00d3f312989e50aaf6f4a4b490b4e1e4c37.tar.gz blackbird-obmc-linux-38d3c00d3f312989e50aaf6f4a4b490b4e1e4c37.zip |
mei: bus: rename uevent handler to mei_cl_device_uevent
Rename mei_cl_uevent to mei_cl_device_uevent to match
the naming convention of mei_cl_bus_type functions
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei')
-rw-r--r-- | drivers/misc/mei/bus.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/misc/mei/bus.c b/drivers/misc/mei/bus.c index 6ea8a408f477..bec213b92550 100644 --- a/drivers/misc/mei/bus.c +++ b/drivers/misc/mei/bus.c @@ -510,7 +510,15 @@ static struct attribute *mei_cl_dev_attrs[] = { }; ATTRIBUTE_GROUPS(mei_cl_dev); -static int mei_cl_uevent(struct device *dev, struct kobj_uevent_env *env) +/** + * mei_cl_device_uevent - me client bus uevent handler + * + * @dev: device + * @env: uevent kobject + * + * Return: 0 on success -ENOMEM on when add_uevent_var fails + */ +static int mei_cl_device_uevent(struct device *dev, struct kobj_uevent_env *env) { struct mei_cl_device *cldev = to_mei_cl_device(dev); const uuid_le *uuid = mei_me_cl_uuid(cldev->me_cl); @@ -534,7 +542,7 @@ static struct bus_type mei_cl_bus_type = { .match = mei_cl_device_match, .probe = mei_cl_device_probe, .remove = mei_cl_device_remove, - .uevent = mei_cl_uevent, + .uevent = mei_cl_device_uevent, }; static void mei_cl_dev_release(struct device *dev) |