PM / Hibernate: Use bool for boolean fields of struct snapshot_data
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 18 Oct 2013 20:20:40 +0000 (22:20 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 18 Oct 2013 20:20:40 +0000 (22:20 +0200)
commit7bc9b1cffc95675a957e870d258e95d43dcbba0b
tree4a751a9741cb4c111b94c088bb8afd2ba78a472e
parent70fea60d888d472ac044910fd0dc46b304419705
PM / Hibernate: Use bool for boolean fields of struct snapshot_data

The snapshot_data structure used internally by the hibernate user
space interface code in user.c has three char fields that are used
to store boolean values.  Change their data type to bool and use
true and false instead of 1 and 0, respectively, in assignments
involving those fields.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/user.c