projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'mmc-v4.6' of git://git.linaro.org/people/ulf.hansson/mmc
[cascardo/linux.git]
/
drivers
/
nvdimm
/
bus.c
diff --git
a/drivers/nvdimm/bus.c
b/drivers/nvdimm/bus.c
index
3355748
..
fc82743
100644
(file)
--- a/
drivers/nvdimm/bus.c
+++ b/
drivers/nvdimm/bus.c
@@
-62,7
+62,7
@@
static int nvdimm_bus_match(struct device *dev, struct device_driver *drv)
{
struct nd_device_driver *nd_drv = to_nd_device_driver(drv);
- return test_bit(to_nd_device_type(dev), &nd_drv->type);
+ return
!!
test_bit(to_nd_device_type(dev), &nd_drv->type);
}
static struct module *to_bus_provider(struct device *dev)