aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2023-07-22 17:58:40 +0200
committerVinod Koul <[email protected]>2023-08-02 00:02:51 +0530
commit926a4b17e9366583142c57e074d8a9e52cadc755 (patch)
treef5546729fd42b7565e89d4dbfa1bdb9f89c39600 /drivers/platform/surface/aggregator/ssh_parser.c
parent897500c7ea91702966adb9b412fa39400b4edee6 (diff)
dmaengine: ep93xx: Use struct_size()
Use struct_size() instead of hand-writing it, when allocating a structure with a flex array. This is less verbose, more robust and more informative. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/36fa11d95b448b5f3f1677da41fe35b9e2751427.1690041500.git.christophe.jaillet@wanadoo.fr Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions