On Mon, Jan 13, 2020 at 11:53 AM Samuel Holland <sam...@sholland.org> wrote: > > Instead of ad-hoc variant ID checks throughout the code, let's start > moving the variant-specific details to a match structure. This allows > for future flexibility, and it better matches the other axp20x power > supply drivers. > > This commit removes most variant checks from axp20x_usb_power_probe(). > Other parts of the driver still do ID matching; they are left unchanged > for now. > > Signed-off-by: Samuel Holland <sam...@sholland.org>
Reviewed-by: Chen-Yu Tsai <w...@csie.org> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/CAGb2v66FsV9Gdm0Osgg5%3DEbeh8-q4dVcWo1QoB8J9Ehag4XjkQ%40mail.gmail.com.