diff options
author | Sergey Shtylyov <s.shtylyov@omp.ru> | 2022-05-15 23:41:26 +0300 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-06-13 11:42:58 +0900 |
commit | 6cd379f75f424b874ea1f35e3c02fa4090246eaf (patch) | |
tree | e7b8fa592599fc63643d9c741b4c59753394f45b /drivers/platform/surface/aggregator/ssh_request_layer.c | |
parent | 75b4d58cb5bd7401d537f149e2fa268beaa2c375 (diff) |
ata: pata_hpt3x2n: pass base DPLL frequency to hpt3x2n_pci_clock()
Currently, the base DPLL frequency is hardcoded in hpt3x2n_pci_clock().
Align with the updated 'pata_hpt37x' driver, where this frequency is a
parameter to hpt37x_pci_clock().
While at it, also do the following to align with the 'pata_hpt37x' driver:
- fix the 'freq' local variable's type;
- remove the 'iobase' local variable;
- extend the comment to the inl() call;
- move the 'total' local variable's declaration.
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_request_layer.c')
0 files changed, 0 insertions, 0 deletions