[lkml]   [2012]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    How important is the name argument to request_mem_region?

    devm_request_and_ioremap uses:

    name = res->name ?: dev_name(dev);

    In trying to introduce uses of devm_request_and_ioremap I thus look for
    res->name and dev_name(dev) as well as the name in the driver structure in
    the platform_driver structure. But sometimes the name is pdev->name, ie
    the name field of the argument to the probe function. And sometimes it is
    a string that is slightly different than what is in the driver structure.


     \ /
      Last update: 2012-02-04 19:27    [W:0.021 / U:11.452 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site