diff options
author | Tejun Heo <htejun@gmail.com> | 2007-05-17 13:13:57 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-18 02:57:10 +0200 |
commit | 1daf9ce74e0e0ef8ffde800ab495339458c3375f (patch) | |
tree | 86133a124803121e15b65dec1873b4fac6a21c88 /Documentation/console | |
parent | drivers/ata: remove the wildcard from sata_nv driver (diff) | |
download | linux-1daf9ce74e0e0ef8ffde800ab495339458c3375f.tar.xz linux-1daf9ce74e0e0ef8ffde800ab495339458c3375f.zip |
sata_nv: fix fallout of devres conversion
As with all other drivers, sata_nv's hpriv is allocated with
devm_kzalloc() and there's no need to free it explicitly. Kill
nv_remove_one() which incorrectly used kfree() instead of devm_kfree()
and use ata_pci_remove_one() directly.
Original fix is from Peer Chen.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Peer Chen <pchen@nvidia.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'Documentation/console')
0 files changed, 0 insertions, 0 deletions