Re: [PATCH 1/2] drm/msm: simplify getting .driver_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > -	struct platform_device *pdev = to_platform_device(dev);
> > -	struct msm_gpu *gpu = platform_get_drvdata(pdev);
> > +	struct msm_gpu *gpu = dev_get_drvdata(dev);
> 
> Nice simplification :-)
> 
> Do you catch these with Coccinelle?

Yes, the previous series had the script in the cover letter, but for
this small series, I thought it was too much. I haven't changed it since
then.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux