Skip to content
Commit aa68ebf1 authored by Andreas Sandberg's avatar Andreas Sandberg Committed by Carles Cufí
Browse files

drivers: ssd16xx: Add a helper for uint8 writes



Many register writes only use 8 bits of data. A common pattern in the
driver is to assign a constant to a temporary variable and write that
to the device. Simplify this pattern by adding a helper function that
writes an uint8 to a device.

Signed-off-by: default avatarAndreas Sandberg <andreas@sandberg.uk>
parent 0c343344
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment