On 03/04/2014 11:12 AM, Alexander Shiyan wrote:
> Вторник, 4 марта 2014, 11:01 +02:00 от Peter Ujfalusi
> :
>> We can then remove the iounmap() calls from probe and remove.
>> Since the driver requests the resources via index we can do the mem resource
>> request within a for loop.
>>
>> Signed-o
On 03/04/2014 11:12 AM, Alexander Shiyan wrote:
> Вторник, 4 марта 2014, 11:01 +02:00 от Peter Ujfalusi
> :
>> We can then remove the iounmap() calls from probe and remove.
>> Since the driver requests the resources via index we can do the mem resource
>> request within a for loop.
>>
>> Signed-o
On 03/04/2014 11:23 AM, Alexander Shiyan wrote:
>>> - l3->l3_base[2] = ioremap(res->start, resource_size(res));
>>> - if (!l3->l3_base[2]) {
>>> - dev_err(&pdev->dev, "ioremap failed\n");
>>> - ret = -ENOMEM;
>>> - goto err2;
>>> + l3->l3_base[i] = devm_r
Вторник, 4 марта 2014, 13:12 +04:00 от Alexander Shiyan :
> Вторник, 4 марта 2014, 11:01 +02:00 от Peter Ujfalusi
> :
> > We can then remove the iounmap() calls from probe and remove.
> > Since the driver requests the resources via index we can do the mem resource
> > request within a for loop.
Вторник, 4 марта 2014, 11:01 +02:00 от Peter Ujfalusi :
> We can then remove the iounmap() calls from probe and remove.
> Since the driver requests the resources via index we can do the mem resource
> request within a for loop.
>
> Signed-off-by: Peter Ujfalusi
> Reviewed-by: Santosh Shilimkar
We can then remove the iounmap() calls from probe and remove.
Since the driver requests the resources via index we can do the mem resource
request within a for loop.
Signed-off-by: Peter Ujfalusi
Reviewed-by: Santosh Shilimkar
---
drivers/bus/omap_l3_noc.c | 63 +++--
We can then remove the iounmap() calls from probe and remove.
Since the driver requests the resources via index we can do the mem resource
request within a for loop.
Signed-off-by: Peter Ujfalusi
---
drivers/bus/omap_l3_noc.c | 63 +++
1 file changed,
7 matches
Mail list logo