summaryrefslogtreecommitdiff
path: root/drivers/thermal/power_allocator.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2015-11-10 12:15:27 -0800
committerBrian Norris <computersforpeace@gmail.com>2015-11-19 13:34:44 -0800
commitc67cbb839da9cc2757eabfa128556db6a2baf160 (patch)
tree1a8f6a07ef4ec5af82bb9af9d04c309ca34bb7bb /drivers/thermal/power_allocator.c
parent1e6460abf739310fe695bafac30c2be39d18c8f9 (diff)
mtd: spi-nor: provide default erase_sector implementation
Some spi-nor drivers perform sector erase by duplicating their write_reg() command. Let's not require that the driver fill this out, and provide a default instead. Tested on m25p80.c and Medatek's MT8173 SPI NOR flash driver. Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/thermal/power_allocator.c')
0 files changed, 0 insertions, 0 deletions