![](https://secure.gravatar.com/avatar/b1a3065ae9c42727d7ce4fa7689b8c07.jpg?s=120&d=mm&r=g)
16 Nov
2017
16 Nov
'17
5:13 p.m.
On 16/11/17 16:14, Vinod Koul wrote:
+static int slim_device_match(struct device *dev, struct device_driver *drv) +{
- struct slim_device *sbdev = to_slim_device(dev);
- struct slim_driver *sbdrv = to_slim_driver(drv);
- return slim_match(sbdrv->id_table, sbdev) != NULL;
return !!slim_match() ?
I guess you missed this one..
Opps, It makes sense I will change it.