-
由 Anton Vorontsov 提交于
Constructions like 'if (id->driver_data == 1)' look quite weird. This patch introduces 'enum ds278x_num_id', which makes things much more understandable, i.e. 'if (id->driver_data == DS2786)'. Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com> Acked-by: NMike Rapoport <mike@compulab.co.il>
ab6cc8f9