
29 Sep
2017
29 Sep
'17
3:42 p.m.
On Fri, 29 Sep 2017 10:53:36 +1300 Chris Packham judge.packham@gmail.com wrote:
struct pca954x_priv { @@ -39,14 +40,17 @@ static const struct chip_desc chips[] = { [PCA9544] = { .enable = 0x4, .muxtype = pca954x_ismux,
}, [PCA9547] = { .enable = 0x8, .muxtype = pca954x_ismux,.width = 4,
}, [PCA9548] = { .enable = 0x8, .muxtype = pca954x_isswi,.width = 8,
},.width = 8,
};
Hmm, looking at this now, isn't one of the enable or width fields redundant? They both have same values in all entries.
Marek