Files
linux/drivers
Joachim Eastwood 3386e0fa90 of: add helper function to retrive match data
It's a common operation for device drivers to retrive the data
member from of_device_id struct in their probe function.

Most driver end up doing:
    const struct of_device_id *match;
    match = of_match_device(driver_of_match, &pdev->dev);
    driver->data = match->data;

With the of_device_get_match_data helper function all this can
done in one go.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
[robh: add missing inline to dummmy declaration]
Signed-off-by: Rob Herring <robh@kernel.org>
2015-05-28 12:59:40 -05:00
..
2015-04-17 15:32:07 -04:00
2015-04-07 12:05:12 +02:00
2015-04-15 10:02:42 +02:00
2015-03-31 12:01:19 -04:00
2015-04-08 08:11:51 -06:00
2015-03-25 12:25:29 +01:00