summaryrefslogtreecommitdiffstats
path: root/drivers/ide/au1xxx-ide.c
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2019-08-24 02:10:37 +0200
committerThierry Reding <thierry.reding@gmail.com>2020-01-08 13:43:00 +0100
commitff55e7a314143e717f4d96271b541c29111502df (patch)
tree858810d2f5d29c0cbc31a48805de31de5af5efa4 /drivers/ide/au1xxx-ide.c
parentpwm: atmel: Add a hint where to find hardware documentation (diff)
downloadlinux-ff55e7a314143e717f4d96271b541c29111502df.tar.xz
linux-ff55e7a314143e717f4d96271b541c29111502df.zip
pwm: atmel: Use a constant for maximum prescale value
The maximal prescale value is 10 for all supported variants. So drop the member in the variant description and introduce a global constant instead. This reduces the size of the variant descriptions and the .apply() callback can be compiled a bit more effectively. Acked-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/ide/au1xxx-ide.c')
0 files changed, 0 insertions, 0 deletions