Merge tag 'driver-core-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-drm-fsl-dcu.git] / include / linux / device.h
index ec1b6e21f0efb88cdb6c60a83d27c98957278757..233bbbeb768d6f8c5a6aa32411675a14b3401272 100644 (file)
@@ -560,6 +560,8 @@ extern int device_create_file(struct device *device,
                              const struct device_attribute *entry);
 extern void device_remove_file(struct device *dev,
                               const struct device_attribute *attr);
+extern bool device_remove_file_self(struct device *dev,
+                                   const struct device_attribute *attr);
 extern int __must_check device_create_bin_file(struct device *dev,
                                        const struct bin_attribute *attr);
 extern void device_remove_bin_file(struct device *dev,