]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pata_sis: extract a sis_port_base() method
authorDan McGee <dpmcgee@gmail.com>
Wed, 7 Sep 2011 16:23:18 +0000 (11:23 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 8 Oct 2011 04:07:15 +0000 (00:07 -0400)
commit023a0175ad4beaa14b303e133963c971ad31c338
treeb42523c36ddb185248632556270a4a1fbf9ec57c
parent904c04feaf13ed58790a34a0b11cd7b885b94b4b
pata_sis: extract a sis_port_base() method

This is similar to the existing sis_old_port_base() method. We do this
same calculation and logic in multiple places (with one more to come in
a future patch), so extracting it into a method makes sense.

Reviewed-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_sis.c