diff options
| author | Damien Le Moal <[email protected]> | 2024-08-19 02:32:15 +0000 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2024-09-07 01:16:55 +0000 |
| commit | c494708d1f680027c7cbbaa670198179774f7d4d (patch) | |
| tree | 3f157a1fefbea63eb08b1c317fb541ff19467e87 /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
| parent | ata: sata_gemini: Enable module autoloading (diff) | |
| download | kernel-c494708d1f680027c7cbbaa670198179774f7d4d.tar.gz kernel-c494708d1f680027c7cbbaa670198179774f7d4d.zip | |
ata: libata: Cleanup libata-transport
Move the ATA link transport device related functions after the ATA
transport device related functions to avoid the need for forward
declaring ata_tdev_add() and ata_tdev_delete().
And while at it, do the following:
1) Change ata_is_ata_dev() and ata_is_link() to return a boolean
2) Fix a pointer declaration style in ata_is_ata_dev()
3) Improve the kdoc comments for ata_tdev_free(), ata_tdev_delete(),
ata_tdev_add(), ata_tlink_delete() and ata_tlink_add()
No functional changes are introduced by this cleanup.
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions
