]> www.infradead.org Git - users/hch/block.git/commit
sata_nv: switch to using ->device_configure
authorChristoph Hellwig <hch@lst.de>
Thu, 21 Mar 2024 02:30:06 +0000 (12:30 +1000)
committerChristoph Hellwig <hch@lst.de>
Tue, 9 Apr 2024 05:37:17 +0000 (07:37 +0200)
commit778e21b380eeaa5b9ece4eed2c56c7cf8b083545
treed564afd00eb50128a41ff34a8194d0c0ae636e74
parent7b3059014d7dded2bcde614ef2903c9ceb502d30
sata_nv: switch to using ->device_configure

Switch to the ->device_configure method instead of ->slave_configure
and update the block limits on the passed in queue_limits instead
of using the per-limit accessors.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/sata_nv.c