Re: [PATCH V2] ata: use pci_get_drvdata()

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

 



On Mon, Jun 03, 2013 at 01:22:41PM +0900, Jingoo Han wrote:
> Use the wrapper functions for getting the driver data using pci_dev
> instead of using dev_get,set_drvdata() with &pdev->dev, so we can
> directly pass a struct pci_dev.
> 
> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
> ---
> Changes since v1:
> - Fix the commit message from pci_{get,set}_drvdata() to pci_get_drvdata()

Ummm... wouldn't using pci_set_drvdata() make things more consistent?
Also, what about the other comment that I made?  Is this purely
cosmetic or is there some other change which is gonna depend on it?

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux