summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/dpot-dac.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-10-16 16:31:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-18 10:02:52 +0200
commitf7572e93d5f6bc4f659d2a9b603574cd126482d8 (patch)
tree8c98b5169cfed95386a093e1968b206d22c44c16 /drivers/iio/dac/dpot-dac.c
parentb8cb855d1b2ee6669e46c54a132024bd1dd0dcbb (diff)
downloadlinux-stable-f7572e93d5f6bc4f659d2a9b603574cd126482d8.tar.gz
linux-stable-f7572e93d5f6bc4f659d2a9b603574cd126482d8.tar.bz2
linux-stable-f7572e93d5f6bc4f659d2a9b603574cd126482d8.zip
parport: Drop unneeded NULL or 0 assignments
kzalloc() gives us a zeroed memory, no need to explicitly assing 0 or NULL or similar to the members of the data structure that has been allocated with the above mentioned API. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20231016133135.1203643-4-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/dac/dpot-dac.c')
0 files changed, 0 insertions, 0 deletions